1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
@node Alternates, Search Functions, Sequences, Container Functions
@chapter Alternate Containers
@itemize @bullet
@item
Function: RdfAlt *rdfCreateAlt(RdfElement *parent, const char *property,
RdfNamespace *ns)
@findex rdfCreateAlt
Creates and returns a new alternative container.
@itemize @minus
@item
parent: The parent which will hold the alternative container.
@item
property: The name of the alternative container's property.
@item
ns: The alternative container's namespace.
@end itemize
@item
Function: RdfElement *rdfAltAddValue(RdfAlt *alt, const char *property,
RdfNamespace *ns, const char *value, RdfElement *element)
@findex rdfAltAddValue
Adds a property to the alternative container.
Returns the new element.
@itemize @minus
@item
alt: The alternative container.
@item
property: The property's name.
@item
ns: The property's namespace.
@item
value: The value of the property, if not NULL.
@item
element: The property's element, if not NULL.
@end itemize
@end itemize
|