---
name: "rdfAltAddValue"
section: "3"
platform: "linux"
package: "libgnurdf-dev"
version: "0.3.0-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://carta.tech/man/rdfAltAddValue"
---

# rdfAltAddValue(3)

Adds a property to the alternative container.

## NAME

rdfAltAddValue - Adds a property to the alternative container.

## SYNOPSIS

**#include \<gnurdf.h\>**

**RdfElement \*rdfAltAddValue(RdfAlt \*alt, const char \*property,** **RdfNamespace \*ns, const char \*value, RdfElement \*element);**

## PARAMETERS

- **alt**

  The alternative container.

- **property**

  The property's name.

- **ns**

  The property's namespace.

- **value**

  The value of the property, if not NULL.

- **element**

  The property's element, if not NULL.

## DESCRIPTION

Adds a property to the alternative container.

## RETURNS

The new element.

## SEE ALSO

[rdfBagAddValue(3)](/man/rdfBagAddValue/3.md), [rdfCreateAlt(3)](/man/rdfCreateAlt/3.md), [rdfCreateBag(3)](/man/rdfCreateBag/3.md), [rdfCreateSeq(3)](/man/rdfCreateSeq/3.md), [rdfSeqAddValue(3)](/man/rdfSeqAddValue/3.md)
