---
name: "rdfAltAddValue"
section: "3"
platform: "linux"
package: "libgnurdf-dev"
version: "0.3.0-3"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/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)](/rdfBagAddValue/3.md), [rdfCreateAlt(3)](/rdfCreateAlt/3.md), [rdfCreateBag(3)](/rdfCreateBag/3.md), [rdfCreateSeq(3)](/rdfCreateSeq/3.md), [rdfSeqAddValue(3)](/rdfSeqAddValue/3.md)
