Simple C Expat Wrapper (SCEW)  1.1.7
Functions
attribute.h File Reference

SCEW attribute's handling routines. More...

#include "element.h"
#include "bool.h"
#include <expat.h>

Go to the source code of this file.

Functions

SCEW_API scew_attributescew_attribute_create (XML_Char const *name, XML_Char const *value)
 Creates a new attribute with the given pair (name, value). More...
 
SCEW_API scew_attributescew_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_elementscew_attribute_parent (scew_attribute const *attribute)
 Returns the element that the given attribute belongs to. More...
 

Detailed Description

SCEW attribute's handling routines.

Author
Aleix Conchillo Flaque aleix.nosp@m.@mem.nosp@m.ber.f.nosp@m.sf.o.nosp@m.rg
Date
Mon Nov 25, 2002 00:39 , , ,