1#ifndef UPNPLIB_IXMLPARSER_HPP
2#define UPNPLIB_IXMLPARSER_HPP
111#ifdef IXML_HAVE_SCRIPTSUPPORT
120void Parser_setBeforeFree(
122 IXML_BeforeFreeNode_t hndlr);
127IXML_BeforeFreeNode_t Parser_getBeforeFree();
157 const char* tagName);
229 const char* namespaceURI,
231 const char* localName,
Data structure common to all types of nodes.
Data structure representing an Attribute node.
Data structure representing a list of nodes.
Data structure representing a list of named nodes.
Data structure representing an Element node.
Data structure representing the DOM Document.
#define DOMString
The type of DOM strings.
int ixmlNodeList_addToNodeList(IXML_NodeList **nList, IXML_Node *add)
Add a node to nodelist.
struct _IXML_ElementStack IXML_ElementStack
IXML_ElementStack.
void ixmlNamedNodeMap_init(IXML_NamedNodeMap *nnMap)
Initializes a NamedNodeMap object.
struct _Parser Parser
Parser.
int ixmlNode_setNodeProperties(IXML_Node *destNode, IXML_Node *src)
int ixmlNode_compare(IXML_Node *srcNode, IXML_Node *destNode)
Compare two nodes to see whether they are the same node. Parent, sibling and children node are ignore...
void ixmlNode_getElementsByTagName(IXML_Node *n, const char *tagname, IXML_NodeList **list)
Returns a nodeList of all descendant Elements with a given tagName, in the order in which they are en...
void ixmlNode_init(IXML_Node *nodeptr)
Intializes a node.
int ixmlNode_setNodeName(IXML_Node *node, const DOMString qualifiedName)
void ixmlNodeList_init(IXML_NodeList *nList)
Initializes a nodelist.
void Parser_freeNodeContent(IXML_Node *IXML_Nodeptr)
Fees a node contents.
struct _IXML_NamespaceURI IXML_NamespaceURI
IXML_NamespaceURI.
int ixmlElement_setTagName(IXML_Element *element, const char *tagName)
Set the given element's tagName.
void ixmlAttr_init(IXML_Attr *attrNode)
ixmlAttr_init
int Parser_setNodePrefixAndLocalName(IXML_Node *newIXML_NodeIXML_Attr)
Set the node prefix and localName as defined by the nodeName in the form of ns:name.
PARSER_STATE
PARSER_STATE.
int Parser_LoadDocument(IXML_Document **retDoc, const char *xmlFile, int file)
Parses a xml file and return the DOM tree.
void Parser_setErrorChar(char c)
Sets the error character.
int ixmlNamedNodeMap_addToNamedNodeMap(IXML_NamedNodeMap **nnMap, IXML_Node *add)
Add a node to a NamedNodeMap.
int Parser_isValidXmlName(const DOMString name)
Check to see whether name is a valid xml name.
void ixmlNode_getElementsByTagNameNS(IXML_Node *n, const char *namespaceURI, const char *localName, IXML_NodeList **list)
Returns a nodeList of all the descendant Elements with a given local name and namespace URI in the or...