UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
document.cpp File Reference
#include <ixml/ixmldebug.hpp>
#include <ixml/ixmlparser.hpp>
#include <cstring>
+ Include dependency graph for document.cpp:

Go to the source code of this file.

Functions

void ixmlDocument_init (IXML_Document *doc)
 Initializes a Document node.
 
void ixmlDocument_free (IXML_Document *doc)
 Frees a Document object and all Nodes associated with it.
 
static void ixmlDocument_setOwnerDocument (IXML_Document *doc, IXML_Node *nodeptr)
 
int ixmlDocument_importNode (IXML_Document *doc, IXML_Node *importNode, int deep, IXML_Node **rtNode)
 Imports a Node from another Document into this Document.
 
int ixmlDocument_createElementEx (IXML_Document *doc, const DOMString tagName, IXML_Element **rtElement)
 Creates a new Element node with the given tag name.
 
IXML_ElementixmlDocument_createElement (IXML_Document *doc, const DOMString tagName)
 Creates a new Element node with the given tag name.
 
int ixmlDocument_createDocumentEx (IXML_Document **rtDoc)
 Creates a new empty Document node.
 
IXML_DocumentixmlDocument_createDocument ()
 Creates a new empty Document node.
 
int ixmlDocument_createTextNodeEx (IXML_Document *doc, const DOMString data, IXML_Node **textNode)
 Creates a new Text node with the given data.
 
IXML_NodeixmlDocument_createTextNode (IXML_Document *doc, const DOMString data)
 Creates a new Text node with the given data.
 
int ixmlDocument_createAttributeEx (IXML_Document *doc, const DOMString name, IXML_Attr **rtAttr)
 Creates a new Attr node with the given name.
 
IXML_AttrixmlDocument_createAttribute (IXML_Document *doc, const DOMString name)
 Creates a new Attr node with the given name.
 
int ixmlDocument_createAttributeNSEx (IXML_Document *doc, const DOMString namespaceURI, const DOMString qualifiedName, IXML_Attr **rtAttr)
 Creates a new Attr node with the given qualified name and namespace URI.
 
IXML_AttrixmlDocument_createAttributeNS (IXML_Document *doc, const DOMString namespaceURI, const DOMString qualifiedName)
 Creates a new Attribute node with the given qualified name and namespace URI.
 
int ixmlDocument_createCDATASectionEx (IXML_Document *doc, const DOMString data, IXML_CDATASection **rtCD)
 Creates a new CDATASection node with given data.
 
IXML_CDATASectionixmlDocument_createCDATASection (IXML_Document *doc, const DOMString data)
 Creates a new CDATASection node with given data.
 
int ixmlDocument_createElementNSEx (IXML_Document *doc, const DOMString namespaceURI, const DOMString qualifiedName, IXML_Element **rtElement)
 Creates a new Element node in the given qualified name and namespace URI.
 
IXML_ElementixmlDocument_createElementNS (IXML_Document *doc, const DOMString namespaceURI, const DOMString qualifiedName)
 Creates a new Element node in the given qualified name and namespace URI.
 
IXML_NodeListixmlDocument_getElementsByTagName (IXML_Document *doc, const DOMString tagName)
 Returns a NodeList of all Elements that match the given tag name in the order in which they were encountered in a preorder traversal of the Document tree.
 
IXML_NodeListixmlDocument_getElementsByTagNameNS (IXML_Document *doc, const DOMString namespaceURI, const DOMString localName)
 Returns a NodeList of Elements that match the given local name and namespace URI in the order they are encountered in a preorder traversal of the Document tree.
 
IXML_ElementixmlDocument_getElementById (IXML_Document *doc, const DOMString tagName)
 Returns the Element whose ID matches that given id.
 

Function Documentation

◆ ixmlDocument_setOwnerDocument()

static void ixmlDocument_setOwnerDocument ( IXML_Document doc,
IXML_Node nodeptr 
)
static

When this function is called first time, nodeptr is the root of the subtree, so it is not necessay to do two steps recursion.

Internal function called by ixmlDocument_importNode

Parameters
[in]docThe document node.
[in]nodeptr
Todo:
documentation.

Definition at line 59 of file document.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: