Simple C Expat Wrapper (SCEW)
1.1.7
|
Access attributes' data, such as name and value. More...
Files | |
file | attribute.h |
SCEW attribute's handling routines. | |
Functions | |
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... | |
Access attributes' data, such as name and value.
SCEW_API XML_Char const* scew_attribute_name | ( | scew_attribute const * | attribute | ) |
Returns the given attribute's name.
SCEW_API XML_Char const* scew_attribute_value | ( | scew_attribute const * | attribute | ) |
Returns the given attribute's value.
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.
If an error is found, the old name is not freed.
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.
If an error is found, the old value is not freed.