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

# rdfCreateAlt(3)

Creates a new alternative container.

## NAME

rdfCreateAlt - Creates a new alternative container.

## SYNOPSIS

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

**RdfAlt \*rdfCreateAlt(RdfElement \*parent, const char \*property,** **RdfNamespace \*ns);**

## PARAMETERS

- **parent**

  The parent which will hold the alternative container.

- **property**

  The name of the alternative container's property.

- **ns**

  The alternative container's namespace.

## DESCRIPTION

Creates a new alternative container.

## RETURNS

The new alternative container.

## SEE ALSO

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