xml_l.h File Reference

#include <gwenhywfar/xml.h>
#include <gwenhywfar/stringlist2.h>
Include dependency graph for xml_l.h:

Go to the source code of this file.

Typedefs

typedef struct GWEN__XMLPROPERTY GWEN_XMLPROPERTY

Functions

int GWEN_XML_AddNameSpace (GWEN_STRINGLIST2 *sl, const char *prefix, const char *name)
const char * GWEN_XML_FindNameSpace (GWEN_STRINGLIST2 *sl, const char *prefix, const char *name)
const char * GWEN_XML_FindNameSpaceByName (GWEN_STRINGLIST2 *sl, const char *s)
const char * GWEN_XML_FindNameSpaceByPrefix (GWEN_STRINGLIST2 *sl, const char *s)
GWEN_XMLPROPERTYGWEN_XMLNode_GetFirstProperty (const GWEN_XMLNODE *n)
GWEN_XMLPROPERTYGWEN_XMLNode_GetNextProperty (const GWEN_XMLNODE *n, const GWEN_XMLPROPERTY *pr)
const char * GWEN_XMLProperty_GetName (const GWEN_XMLPROPERTY *pr)
const char * GWEN_XMLProperty_GetValue (const GWEN_XMLPROPERTY *pr)

Typedef Documentation

typedef struct GWEN__XMLPROPERTY GWEN_XMLPROPERTY

The type of a property of a tag (in XML notation this would be called the attribute of an element).

Definition at line 37 of file xml_l.h.


Function Documentation

int GWEN_XML_AddNameSpace ( GWEN_STRINGLIST2 sl,
const char *  prefix,
const char *  name 
)

Definition at line 1169 of file xml.c.

References GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_StringList2_AppendString(), and GWEN_StringList2_IntertMode_NoDouble.

Referenced by GWEN_XMLNode__CheckNameSpaceDecls1().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* GWEN_XML_FindNameSpace ( GWEN_STRINGLIST2 sl,
const char *  prefix,
const char *  name 
)
const char* GWEN_XML_FindNameSpaceByName ( GWEN_STRINGLIST2 sl,
const char *  s 
)

Definition at line 1214 of file xml.c.

References GWEN_StringList2_First(), GWEN_StringList2Iterator_Data(), GWEN_StringList2Iterator_free(), and GWEN_StringList2Iterator_Next().

Referenced by GWEN_XMLNode__CheckNameSpaceDecls1().

Here is the call graph for this function:

Here is the caller graph for this function:

const char* GWEN_XML_FindNameSpaceByPrefix ( GWEN_STRINGLIST2 sl,
const char *  s 
)

Definition at line 1188 of file xml.c.

References GWEN_StringList2_First(), GWEN_StringList2Iterator_Data(), GWEN_StringList2Iterator_free(), and GWEN_StringList2Iterator_Next().

Here is the call graph for this function:

GWEN_XMLPROPERTY* GWEN_XMLNode_GetFirstProperty ( const GWEN_XMLNODE n  ) 

Definition at line 806 of file xml.c.

GWEN_XMLPROPERTY* GWEN_XMLNode_GetNextProperty ( const GWEN_XMLNODE n,
const GWEN_XMLPROPERTY pr 
)

Definition at line 813 of file xml.c.

const char* GWEN_XMLProperty_GetName ( const GWEN_XMLPROPERTY pr  ) 

Definition at line 822 of file xml.c.

const char* GWEN_XMLProperty_GetValue ( const GWEN_XMLPROPERTY pr  ) 

Definition at line 829 of file xml.c.

Generated on Mon Jul 5 22:58:29 2010 for gwenhywfar by  doxygen 1.6.3