#include "WDError.h"
Include dependency graph for wdxml.h:
Go to the source code of this file.
Compounds | |
struct | XMLValidMsg |
Validation error and warning messages. More... | |
Functions | |
WDError | XMLInit () |
Init function. More... | |
WDError | XMLCleanup () |
Cleanup function. More... | |
WDError | XMLParseFile (const char *iFileName, void **oRoot) |
File Parser. More... | |
WDError | XMLNewDocument (const char *iRootTag, const char *iDTD, void **oRoot) |
Makes a new XML tree. More... | |
WDError | XMLDeleteTree (void *iRoot) |
Deletes a parsed tree. More... | |
WDError | XMLValidate (void *iRoot, int *oValid, XMLValidMsg *oMsg) |
Validates a parsed tree. More... | |
WDError | XMLDumpTree (const char *iFileName, void *iRoot) |
Dumps a tree to a file. More... | |
WDError | XMLGetTagName (void *iTag, char *oNameBuffer, int iMaxNameSize) |
Gets the name of a tag. More... | |
WDError | XMLGetNbrChildren (void *iTag, int *oNbr) |
Get the number of children. More... | |
WDError | XMLGetNthChild (void *iTag, int iN, void **oChild) |
Gets the nth children of a tag. More... | |
WDError | XMLGetParent (void *iTag, void **oParent) |
Returns the parent tag. More... | |
WDError | XMLGetNbrAttributes (void *iTag, int *oNbr) |
Gets the number of attributes. More... | |
WDError | XMLGetNthAttribute (void *iTag, int iN, void **oAttr) |
Gets the nth attribute of a tag. More... | |
WDError | XMLGetAttributeName (void *iAttr, char *oNameBuffer, int iMaxNameSize) |
Gets the name of an attribute. More... | |
WDError | XMLSetAttributeValue (void *iTag, const char *iName, const char *iValue) |
Sets the value of some attribute. More... | |
WDError | XMLGetAttributeValue (void *iTag, const char *iAttr, char *oVal, int iMaxLength) |
Finds an attribute's value. More... | |
WDError | XMLFindAttribute (void *iTag, const char *iAttr, void **oAttr) |
Finds an attribute. More... | |
WDError | XMLFindChild (void *iTag, const char *iName, const char *iID, void **oChild) |
Finds a tag from its ID. More... | |
WDError | XMLInterchangeTags (void *iTag1, void *iTag2) |
Interchanges two tags. More... | |
WDError | XMLMoveTagBefore (void *iTag, void *iDest) |
Moves a tag before another one. More... | |
WDError | XMLMoveTagAfter (void *iTag, void *iDest) |
Moves a tag after another one. More... | |
WDError | XMLGetNextTag (void *iTag, void **iNext) |
Gets the next sibling of a tag. More... | |
WDError | XMLGetPrevTag (void *iTag, void **iPrev) |
Gets the previous sibling of a tag. More... | |
WDError | XMLGetFirstChildren (void *iTag, void **iChild) |
Gets the first children. More... | |
WDError | XMLNewTag (void *iParent, const char *iName, void **oNewTag) |
Creates a new tag. More... | |
WDError | XMLSetTagName (void *iTag, const char *iName) |
Sets the tag name. More... | |
WDError | XMLRemoveTag (void *iTag) |
Removes a tag. More... | |
WDError | XMLNewAttribute (void *iTag, const char *iName, const char *iVal, void **oAttr) |
Creates a new attribute. More... | |
WDError | XMLRemoveAttribute (void *iAttr) |
Removes an attribute. More... | |
WDError | XMLFindChildRecur (void *iTag, const char *iID, void **oChild) |
Finds a tag from its ID (recursive). More... | |
WDError | XMLUnlinkTag (void *iTag) |
Unlinks a tag. More... | |
WDError | XMLVerifyRefs (void *iTag, const char *iRefFrom, const char *iRefTo, void **oErrorTag) |
Verifies XML references. More... |