Simple C Expat Wrapper (SCEW)
1.1.7
|
SCEW attribute's handling routines. More...
Go to the source code of this file.
Functions | |
SCEW_API scew_attribute * | scew_attribute_create (XML_Char const *name, XML_Char const *value) |
Creates a new attribute with the given pair (name, value). More... | |
SCEW_API scew_attribute * | scew_attribute_copy (scew_attribute const *attribute) |
Makes a copy of the given attribute. More... | |
SCEW_API void | scew_attribute_free (scew_attribute *attribute) |
Frees the given attribute. More... | |
SCEW_API scew_bool | scew_attribute_compare (scew_attribute const *a, scew_attribute const *b) |
Performs a comparison between the two given attributes. More... | |
SCEW_API XML_Char const * | scew_attribute_name (scew_attribute const *attribute) |
Returns the given attribute's name. More... | |
SCEW_API XML_Char const * | scew_attribute_value (scew_attribute const *attribute) |
Returns the given attribute's value. More... | |
SCEW_API XML_Char const * | scew_attribute_set_name (scew_attribute *attribute, XML_Char const *name) |
Sets a new name to the given attribute and frees the old one. More... | |
SCEW_API XML_Char const * | scew_attribute_set_value (scew_attribute *attribute, XML_Char const *value) |
Sets a new value to the given attribute and frees the old one. More... | |
SCEW_API scew_element * | scew_attribute_parent (scew_attribute const *attribute) |
Returns the element that the given attribute belongs to. More... | |
SCEW attribute's handling routines.