<p><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a> is a "lightweight" or "minimal" <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> object.
<areashape="rect"id="node2"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. "alt=""coords="47,5,185,32"/></map>
<trclass="inherit_header pub_methods_classxercesc_1_1DOMNode"><tdcolspan="2"onclick="javascript:toggleInherit('pub_methods_classxercesc_1_1DOMNode')"><imgsrc="closed.png"alt="-"/> Public Member Functions inherited from <aclass="el"href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a></td></tr>
<trclass="memdesc:a7b32344fcf1bc6750237d0d136e669c5 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The name of this node, depending on its type; see the table above. <ahref="#a7b32344fcf1bc6750237d0d136e669c5">More...</a><br/></td></tr>
<trclass="memdesc:a91c52c0624325ac9c9e176e944c2e179 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the value of this node, depending on its type. <ahref="#a91c52c0624325ac9c9e176e944c2e179">More...</a><br/></td></tr>
<trclass="memdesc:a2efeafaf11c2e91d4e2334f4a5837812 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">An enum value representing the type of the underlying object. <ahref="#a2efeafaf11c2e91d4e2334f4a5837812">More...</a><br/></td></tr>
<trclass="memdesc:a75d88c459e52996255af85d0c2bb6c28 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the parent of this node. <ahref="#a75d88c459e52996255af85d0c2bb6c28">More...</a><br/></td></tr>
<trclass="memdesc:a5606d1504a6e5e34b8323c9c03bf0871 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets a <code><aclass="el"href="classxercesc_1_1DOMNodeList.html"title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes. ">DOMNodeList</a></code> that contains all children of this node. <ahref="#a5606d1504a6e5e34b8323c9c03bf0871">More...</a><br/></td></tr>
<trclass="memdesc:a2332c89f39231890e5124b45b7576fea inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the first child of this node. <ahref="#a2332c89f39231890e5124b45b7576fea">More...</a><br/></td></tr>
<trclass="memdesc:a5105b148ca44c2e0560559410bde6f28 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the last child of this node. <ahref="#a5105b148ca44c2e0560559410bde6f28">More...</a><br/></td></tr>
<trclass="memdesc:a9b331b808c3bca80b262a2a4b5ae3039 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the node immediately preceding this node. <ahref="#a9b331b808c3bca80b262a2a4b5ae3039">More...</a><br/></td></tr>
<trclass="memdesc:a15122c1270fbb4e49e3278600fc3e92f inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the node immediately following this node. <ahref="#a15122c1270fbb4e49e3278600fc3e92f">More...</a><br/></td></tr>
<trclass="memdesc:a94cba44e801d6ef597d6158d08a8db4b inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets a <code><aclass="el"href="classxercesc_1_1DOMNamedNodeMap.html"title="DOMNamedNodeMaps are used to represent collections of nodes that can be accessed by name...">DOMNamedNodeMap</a></code> containing the attributes of this node (if it is an <code><aclass="el"href="classxercesc_1_1DOMElement.html"title="By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...">DOMElement</a></code>) or <code>null</code> otherwise. <ahref="#a94cba44e801d6ef597d6158d08a8db4b">More...</a><br/></td></tr>
<trclass="memdesc:a678751c64acb0ba5ffdd80695b1bc357 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Gets the <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> object associated with this node. <ahref="#a678751c64acb0ba5ffdd80695b1bc357">More...</a><br/></td></tr>
<trclass="memdesc:acbd55c7876782a2147b092416609055d inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a duplicate of this node. <ahref="#acbd55c7876782a2147b092416609055d">More...</a><br/></td></tr>
<trclass="memdesc:ab53ebbb7276d3d20d24cb486f948717c inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Inserts the node <code>newChild</code> before the existing child node <code>refChild</code>. <ahref="#ab53ebbb7276d3d20d24cb486f948717c">More...</a><br/></td></tr>
<trclass="memdesc:a94ce2693cd6634ac744ef6c3ed0609c0 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Replaces the child node <code>oldChild</code> with <code>newChild</code> in the list of children, and returns the <code>oldChild</code> node. <ahref="#a94ce2693cd6634ac744ef6c3ed0609c0">More...</a><br/></td></tr>
<trclass="memdesc:a6d55c029576075e0cfd8fc26f48c8b84 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Removes the child node indicated by <code>oldChild</code> from the list of children, and returns it. <ahref="#a6d55c029576075e0cfd8fc26f48c8b84">More...</a><br/></td></tr>
<trclass="memdesc:ade4f6d57748def70f0444b004df96a94 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Adds the node <code>newChild</code> to the end of the list of children of this node. <ahref="#ade4f6d57748def70f0444b004df96a94">More...</a><br/></td></tr>
<trclass="memdesc:a2bc565b40dd4bb5aba845d9dd2c7583a inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This is a convenience method to allow easy determination of whether a node has any children. <ahref="#a2bc565b40dd4bb5aba845d9dd2c7583a">More...</a><br/></td></tr>
<trclass="memdesc:a4994a1cde1e661348fc7814dc794cedf inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Sets the value of the node. <ahref="#a4994a1cde1e661348fc7814dc794cedf">More...</a><br/></td></tr>
<trclass="memdesc:a98d4e1ca99342ae7fa64ffcb1731b1e9 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Puts all <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes in the full depth of the sub-tree underneath this <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>, including attribute nodes, into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes, i.e., there are neither adjacent <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes nor empty <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> nodes. <ahref="#a98d4e1ca99342ae7fa64ffcb1731b1e9">More...</a><br/></td></tr>
<trclass="memdesc:a1c65320f33cec3065797a0e9b3cdcacd inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. <ahref="#a1c65320f33cec3065797a0e9b3cdcacd">More...</a><br/></td></tr>
<trclass="memdesc:af35cfa2da40fa282118ec1aca93fc306 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the <em>namespace URI</em> of this node, or <code>null</code> if it is unspecified. <ahref="#af35cfa2da40fa282118ec1aca93fc306">More...</a><br/></td></tr>
<trclass="memdesc:ad1f609ef0a7ebd5d4467e83940f9d085 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Get the <em>namespace prefix</em> of this node, or <code>null</code> if it is unspecified. <ahref="#ad1f609ef0a7ebd5d4467e83940f9d085">More...</a><br/></td></tr>
<trclass="memdesc:a5d459b8e9f1fe8cc82f3690d71d9d98e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the local part of the <em>qualified name</em> of this node. <ahref="#a5d459b8e9f1fe8cc82f3690d71d9d98e">More...</a><br/></td></tr>
<trclass="memdesc:aded63bdb02c190b1a6136c8a7deafcd8 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Set the <em>namespace prefix</em> of this node. <ahref="#aded63bdb02c190b1a6136c8a7deafcd8">More...</a><br/></td></tr>
<trclass="memdesc:a9857bb0538097f155821e5831fe6326b inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether this node (if it is an element) has any attributes. <ahref="#a9857bb0538097f155821e5831fe6326b">More...</a><br/></td></tr>
<trclass="memdesc:a439002778f99343aba9298d7b0f712c4 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns whether this node is the same node as the given one. <ahref="#a439002778f99343aba9298d7b0f712c4">More...</a><br/></td></tr>
<trclass="memdesc:ae7e8ea1540b43fc6f73a2595dc45cfce inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Tests whether two nodes are equal. <ahref="#ae7e8ea1540b43fc6f73a2595dc45cfce">More...</a><br/></td></tr>
<trclass="memdesc:af1b188358a3cbb7b44a24fc71425bf42 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Associate an object to a key on this node. <ahref="#af1b188358a3cbb7b44a24fc71425bf42">More...</a><br/></td></tr>
<trclass="memdesc:af9d881c5e6a25c61732060dc6c6955ea inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Retrieves the object associated to a key on a this node. <ahref="#af9d881c5e6a25c61732060dc6c6955ea">More...</a><br/></td></tr>
<trclass="memdesc:af775e8a5faa128e2b7d301b29d285192 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The absolute base URI of this node or <code>null</code> if undefined. <ahref="#af775e8a5faa128e2b7d301b29d285192">More...</a><br/></td></tr>
<trclass="memdesc:ac905b4d9386c40069c0aae057a514bcc inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Compares the reference node, i.e. <ahref="#ac905b4d9386c40069c0aae057a514bcc">More...</a><br/></td></tr>
<trclass="memdesc:afbc6510ae34920edb171bc1b7499e2fd inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This attribute returns the text content of this node and its descendants. <ahref="#afbc6510ae34920edb171bc1b7499e2fd">More...</a><br/></td></tr>
<trclass="memdesc:a5b9b83d624c3d85e7ad8d4f30e9a8bb4 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This attribute removes any possible children this node may have and, if the new string is not empty or null, replaced by a single <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> node containing the string this attribute is set to. <ahref="#a5b9b83d624c3d85e7ad8d4f30e9a8bb4">More...</a><br/></td></tr>
<trclass="memdesc:a55b9c445bcec20de933bd33fa38ef2a3 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Look up the prefix associated to the given namespace URI, starting from this node. <ahref="#a55b9c445bcec20de933bd33fa38ef2a3">More...</a><br/></td></tr>
<trclass="memdesc:a97bd8a011432b6bb97152cfed2984d9e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This method checks if the specified <code>namespaceURI</code> is the default namespace or not. <ahref="#a97bd8a011432b6bb97152cfed2984d9e">More...</a><br/></td></tr>
<trclass="memdesc:aff70b3729ab0030f559b1c0bf9d5196e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Look up the namespace URI associated to the given prefix, starting from this node. <ahref="#aff70b3729ab0030f559b1c0bf9d5196e">More...</a><br/></td></tr>
<trclass="memdesc:ab448bae0f53b1d355cb448186ce5d47e inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">This method makes available a <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>'s specialized interface. <ahref="#ab448bae0f53b1d355cb448186ce5d47e">More...</a><br/></td></tr>
<trclass="memdesc:a0618f7ce0796d8c35ede74882a93dae1 inherit pub_methods_classxercesc_1_1DOMNode"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Called to indicate that this Node (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children. <ahref="#a0618f7ce0796d8c35ede74882a93dae1">More...</a><br/></td></tr>
<trclass="inherit_header pro_methods_classxercesc_1_1DOMNode"><tdcolspan="2"onclick="javascript:toggleInherit('pro_methods_classxercesc_1_1DOMNode')"><imgsrc="closed.png"alt="-"/> Protected Member Functions inherited from <aclass="el"href="classxercesc_1_1DOMNode.html">xercesc::DOMNode</a></td></tr>
<divclass="textblock"><p><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a> is a "lightweight" or "minimal" <aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a> object. </p>
<p>It is very common to want to be able to extract a portion of a document's tree or to create a new fragment of a document. Imagine implementing a user command like cut or rearranging a document by moving fragments around. It is desirable to have an object which can hold such fragments and it is quite natural to use a <aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a> for this purpose. While it is true that a <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> object could fulfill this role, a <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> object can potentially be a heavyweight object, depending on the underlying implementation. What is really needed for this is a very lightweight object. <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> is such an object. </p>
<p>Furthermore, various operations – such as inserting nodes as children of another <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>– may take <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> objects as arguments; this results in all the child nodes of the <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> being moved to the child list of this node. </p>
<p>The children of a <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> node are zero or more nodes representing the tops of any sub-trees defining the structure of the document. <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> nodes do not need to be well-formed XML documents (although they do need to follow the rules imposed upon well-formed XML parsed entities, which can have multiple top nodes). For example, a <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> might have only one child and that child node could be a <code><aclass="el"href="classxercesc_1_1DOMText.html"title="The DOMText interface inherits from DOMCharacterData and represents the textual content (termed chara...">DOMText</a></code> node. Such a structure model represents neither an HTML document nor a well-formed XML document. </p>
<p>When a <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> is inserted into a <code><aclass="el"href="classxercesc_1_1DOMDocument.html"title="The DOMDocument interface represents the entire XML document. ">DOMDocument</a></code> (or indeed any other <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> that may take children) the children of the <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> and not the <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> itself are inserted into the <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code>. This makes the <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> very useful when the user wishes to create nodes that are siblings; the <code><aclass="el"href="classxercesc_1_1DOMDocumentFragment.html"title="DOMDocumentFragment is a "lightweight" or "minimal" DOMDocument object. ">DOMDocumentFragment</a></code> acts as the parent of these nodes so that the user can use the standard methods from the <code><aclass="el"href="classxercesc_1_1DOMNode.html"title="The DOMNode interface is the primary datatype for the entire Document Object Model. ">DOMNode</a></code> interface, such as <code><aclass="el"href="classxercesc_1_1DOMNode.html#ab53ebbb7276d3d20d24cb486f948717c"title="Inserts the node newChild before the existing child node refChild. ">insertBefore()</a></code> and <code><aclass="el"href="classxercesc_1_1DOMNode.html#ade4f6d57748def70f0444b004df96a94"title="Adds the node newChild to the end of the list of children of this node. ">appendChild()</a></code>.</p>