gwenhywfar 5.14.1
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

◆ GWEN_XMLPROPERTY

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

◆ GWEN_XML_AddNameSpace()

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

Definition at line 1424 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:

◆ GWEN_XML_FindNameSpace()

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

◆ GWEN_XML_FindNameSpaceByName()

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

Definition at line 1471 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:

◆ GWEN_XML_FindNameSpaceByPrefix()

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

Definition at line 1444 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_XMLNode_GetFirstProperty()

GWEN_XMLPROPERTY * GWEN_XMLNode_GetFirstProperty ( const GWEN_XMLNODE * n)

Definition at line 1045 of file xml.c.

◆ GWEN_XMLNode_GetNextProperty()

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

Definition at line 1053 of file xml.c.

◆ GWEN_XMLProperty_GetName()

const char * GWEN_XMLProperty_GetName ( const GWEN_XMLPROPERTY * pr)

Definition at line 1063 of file xml.c.

◆ GWEN_XMLProperty_GetValue()

const char * GWEN_XMLProperty_GetValue ( const GWEN_XMLPROPERTY * pr)

Definition at line 1071 of file xml.c.