NAME
rdfBagAddValue - Adds a property to the bag container.
SYNOPSIS
#include <gnurdf.h>
RdfElement *rdfBagAddValue(RdfBag *bag, const char *property, RdfNamespace *ns, const char *value, RdfElement *element);
PARAMETERS
- bag
-
The bag 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 bag container.
RETURNS
The new element.
SEE ALSO
rdfAltAddValue(3), rdfCreateAlt(3), rdfCreateBag(3), rdfCreateSeq(3), rdfSeqAddValue(3)