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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
@node Attribute Functions, Property Functions, Description Functions, Functions
@chapter Attribute Functions
@itemize @bullet
@item
Function: void rdfSetAttribute(RdfElement *element, const char *attname,
const char *value)
@findex rdfSetAttribute
Sets an element's attribute.
@itemize @minus
@item
element: The element containing the attribute.
@item
attname: The name of the attribute.
@item
value: The attribute's value.
@end itemize
@item
Function: char *rdfGetAttribute(RdfElement *element, const char *attname)
@findex rdfGetAttribute
Returns an attribute's value.
Note: The returned attribute must be freed.
@itemize @minus
@item
element: The element containing the attribute.
@item
attname: The name of the attribute.
@end itemize
@item
Function: void rdfSetNsAttribute(RdfElement *element, const char *attname,
const char *value, RdfNamespace *ns)
@findex rdfSetNsAttribute
Sets the value of an attribute in the specified namespace.
@itemize @minus
@item
element: The element containing the attribute.
@item
attname: The name of the attribute.
@item
value: The attribute's value.
@end itemize
@item
Function: char *rdfGetNsAttribute(RdfElement *element, const char *attname, RdfNamespace *ns)
@findex rdfGetNsAttribute
Returns the value of an attribute in the specified namespace.
Note: The returned attribute must be freed.
@itemize @minus
@item
element: The element containing the attribute.
@item
attname: The name of the attribute.
@item
ns: The namespace of the attribute.
@end itemize
@end itemize
|