XQuilla/docs/dom3-api/classxercesc_1_1DOMDocument.html

1358 lines
102 KiB
HTML
Raw Normal View History

2020-02-17 21:05:20 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2020-02-17 21:11:31 +00:00
<title>XQilla DOM3 API Documentation</title>
2020-02-17 21:05:20 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
2020-02-17 21:11:31 +00:00
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&amp;type=2" border="0" alt="SourceForge.net Logo" /></a>
2020-02-17 21:23:16 +00:00
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
2020-02-17 21:19:57 +00:00
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
2020-02-17 21:23:16 +00:00
<div class="tabs">
2020-02-17 21:22:42 +00:00
<ul>
2020-02-17 21:23:16 +00:00
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
2020-02-17 21:22:42 +00:00
</ul>
2020-02-17 21:19:57 +00:00
</div>
2020-02-17 21:23:16 +00:00
<div class="navpath"><a class="el" href="namespacexercesc.html">xercesc</a>::<a class="el" href="classxercesc_1_1DOMDocument.html">DOMDocument</a>
</div>
2020-02-17 21:22:42 +00:00
</div>
2020-02-17 21:19:57 +00:00
<div class="contents">
2020-02-17 21:23:16 +00:00
<h1>xercesc::DOMDocument Class Reference</h1><!-- doxytag: class="xercesc::DOMDocument" --><!-- doxytag: inherits="xercesc::DOMDocumentRange,xercesc::DOMXPathEvaluator,xercesc::DOMDocumentTraversal,xercesc::DOMNode" -->
2020-02-17 21:19:57 +00:00
<p>The <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface represents the entire XML document.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="DOMDocument_8hpp_source.html">DOMDocument.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for xercesc::DOMDocument:</div>
2020-02-17 21:23:16 +00:00
<div class="dynsection">
2020-02-17 21:19:57 +00:00
<div class="center"><img src="classxercesc_1_1DOMDocument__inherit__graph.png" border="0" usemap="#xercesc_1_1DOMDocument_inherit__map" alt="Inheritance graph"/></div>
<map name="xercesc_1_1DOMDocument_inherit__map" id="xercesc_1_1DOMDocument_inherit__map">
2020-02-17 21:23:16 +00:00
<area shape="rect" id="node2" href="classxercesc_1_1DOMDocumentRange.html" title="xercesc::DOMDocumentRange" alt="" coords="13,5,248,35"/><area shape="rect" id="node4" href="classxercesc_1_1DOMXPathEvaluator.html" title="The evaluation of XPath expressions is provided by DOMXPathEvaluator." alt="" coords="19,59,243,88"/><area shape="rect" id="node6" href="classxercesc_1_1DOMDocumentTraversal.html" title="DOMDocumentTraversal contains methods that create DOMNodeIterators and DOMTreeWalkers..." alt="" coords="5,112,256,141"/><area shape="rect" id="node8" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model..." alt="" coords="53,165,208,195"/></map>
2020-02-17 21:19:57 +00:00
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classxercesc_1_1DOMDocument-members.html">List of all members.</a></p>
2020-02-17 21:23:16 +00:00
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Destructor</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp22a8ec108d963f279c6a6a95aa960a57"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a2e870121ac366f158c770563aecf2c3b">~DOMDocument</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <a href="#a2e870121ac366f158c770563aecf2c3b"></a><br/></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 1</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp24249042249e54f2e7b060cef8bc9ec0"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#ae85ccc2bef950fc7a97ed628edfd188e">createElement</a> (const XMLCh *tagName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an element of the type specified. <a href="#ae85ccc2bef950fc7a97ed628edfd188e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a9cb25f221e8ce1cd40951b4ed3ec113d">createDocumentFragment</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument...">DOMDocumentFragment</a></code> object. <a href="#a9cb25f221e8ce1cd40951b4ed3ec113d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#ad22c9611afa0947e1b0699c3d879058f">createTextNode</a> (const XMLCh *data)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a></code> node given the specified string. <a href="#ad22c9611afa0947e1b0699c3d879058f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a5169031ed4289d87084e9c662f198ab6">createComment</a> (const XMLCh *data)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <code><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a></code> node given the specified string. <a href="#a5169031ed4289d87084e9c662f198ab6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a4eb2a430dd3c77d40000594eb25a80f9">createCDATASection</a> (const XMLCh *data)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> node whose value is the specified string. <a href="#a4eb2a430dd3c77d40000594eb25a80f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a65f8ff9afe0dd0038138859a10ad6ece">createProcessingInstruction</a> (const XMLCh *target, const XMLCh *data)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <code><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;...">DOMProcessingInstruction</a></code> node given the specified name and data strings. <a href="#a65f8ff9afe0dd0038138859a10ad6ece"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a7288d0935ff48866916dcda2a050d0ca">createAttribute</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> of the given name. <a href="#a7288d0935ff48866916dcda2a050d0ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a8861289d08c5efc973316cbf4130d9c0">createEntityReference</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> object. <a href="#a8861289d08c5efc973316cbf4130d9c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a698a34a6561e2ecf2883e43d10e2e9a4">getDoctype</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The Document Type Declaration (see <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code>) associated with this document. <a href="#a698a34a6561e2ecf2883e43d10e2e9a4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a707639b27e69e69f8cd032049ce2e34e">getImplementation</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The <code><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">DOMImplementation</a></code> object that handles this document. <a href="#a707639b27e69e69f8cd032049ce2e34e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a09709e8fef5e0eeec5a9378e5aa69af1">getDocumentElement</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is a convenience attribute that allows direct access to the child node that is the root element of the document. <a href="#a09709e8fef5e0eeec5a9378e5aa69af1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#aaf893c3414d8c80270a31e5079bb6912">getElementsByTagName</a> (const XMLCh *tagname) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> of all the <code>DOMElement(s)</code> with a given tag name in the order in which they are encountered in a preorder traversal of the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> tree. <a href="#aaf893c3414d8c80270a31e5079bb6912"></a><br/></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 2.</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpee044fee300a1cf0b61e35fb8e994c41"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#afbd4386d834deaf4a5fd77aa327709a7">importNode</a> (const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *importedNode, bool deep)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Imports a node from another document to this document. <a href="#afbd4386d834deaf4a5fd77aa327709a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a57ad839d6e17bc10d0b9239b74b49444">createElementNS</a> (const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an element of the given qualified name and namespace URI. <a href="#a57ad839d6e17bc10d0b9239b74b49444"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a68f4951e21f37a4cc1cde7d7a88bf242">createAttributeNS</a> (const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates an attribute of the given qualified name and namespace URI. <a href="#a68f4951e21f37a4cc1cde7d7a88bf242"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a76a0638aff510d4c6db4ffadd942735c">getElementsByTagNameNS</a> (const XMLCh *namespaceURI, const XMLCh *localName) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> of all the <code>DOMElement(s)</code> with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> tree. <a href="#a76a0638aff510d4c6db4ffadd942735c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#adedb2f19695a35b83fde6a584d4b748f">getElementById</a> (const XMLCh *elementId) const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> whose <code>ID</code> is given by <code>elementId</code>. <a href="#adedb2f19695a35b83fde6a584d4b748f"></a><br/></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Functions introduced in DOM Level 3.</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp24c278d8f8612550f82b59dac8fab429"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a41294dce7bec784014dfc9a36774e87f">getInputEncoding</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying the encoding used for this document at the time of the parsing. <a href="#a41294dce7bec784014dfc9a36774e87f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#ad990c4ad200ffbd79c8d51b53942078a">getXmlEncoding</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying, as part of the XML declaration, the encoding of this document. <a href="#ad990c4ad200ffbd79c8d51b53942078a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a29933f976c29320f1563da63e5a20881">getXmlStandalone</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying, as part of the XML declaration, whether this document is standalone. <a href="#a29933f976c29320f1563da63e5a20881"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a616c27be91cf745f08e1f1b30bccb13a">setXmlStandalone</a> (bool standalone)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying, as part of the XML declaration, whether this document is standalone. <a href="#a616c27be91cf745f08e1f1b30bccb13a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a3c5c4935c7165674c667f44e1fe6ced0">getXmlVersion</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying, as part of the XML declaration, the version number of this document. <a href="#a3c5c4935c7165674c667f44e1fe6ced0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#ae0fb6f84c26cd570e8a8d05885fa7292">setXmlVersion</a> (const XMLCh *version)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying, as part of the XML declaration, the version number of this document. <a href="#ae0fb6f84c26cd570e8a8d05885fa7292"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const XMLCh *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#afe21d6a1919ada2ab34f3f977b25b5e7">getDocumentURI</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The location of the document or <code>null</code> if undefined. <a href="#afe21d6a1919ada2ab34f3f977b25b5e7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a660099866e9add0a1e1dd1f97c05a2e5">setDocumentURI</a> (const XMLCh *documentURI)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The location of the document or <code>null</code> if undefined. <a href="#a660099866e9add0a1e1dd1f97c05a2e5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#acba504f87d55e1de05af8a3c3757b6e1">getStrictErrorChecking</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying whether errors checking is enforced or not. <a href="#acba504f87d55e1de05af8a3c3757b6e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#acd3e1baf80b464f2450d0fda8d365e9e">setStrictErrorChecking</a> (bool strictErrorChecking)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An attribute specifying whether errors checking is enforced or not. <a href="#acd3e1baf80b464f2450d0fda8d365e9e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a97feed548120669330168b9eefd676ea">renameNode</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *n, const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Rename an existing node. <a href="#a97feed548120669330168b9eefd676ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#af45712bf8cda8015cbe97d39dd196284">adoptNode</a> (<a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *source)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the <code>ownerDocument</code> of a node, its children, as well as the attached attribute nodes if there are any. <a href="#af45712bf8cda8015cbe97d39dd196284"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#ac4a3e3ffb33ce907f211d216b356f8fb">normalizeDocument</a> ()=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method acts as if the document was going through a save and load cycle, putting the document in a "normal" form. <a href="#ac4a3e3ffb33ce907f211d216b356f8fb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMConfiguration.html">DOMConfiguration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a5a91a9920107fdd96f31062e329e6889">getDOMConfig</a> () const =0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The configuration used when <a class="el" href="classxercesc_1_1DOMDocument.html#ac4a3e3ffb33ce907f211d216b356f8fb" title="This method acts as if the document was going through a save and load cycle, putting...">DOMDocument::normalizeDocument</a> is invoked. <a href="#a5a91a9920107fdd96f31062e329e6889"></a><br/></td></tr>
2020-02-17 21:05:20 +00:00
<tr><td colspan="2"><div class="groupHeader">Non-standard extension</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpac950e75a748042316ed91803032bbef"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#af20f740c1124ea064c6a1b4543b08078">createEntity</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#af20f740c1124ea064c6a1b4543b08078"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a1053258f824ade183b50f7d645048e56">createDocumentType</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#a1053258f824ade183b50f7d645048e56"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#afba31cc58c4334720a19c3ff845aaa5a">createDocumentType</a> (const XMLCh *qName, const XMLCh *, const XMLCh *)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a510813f689dcc51325653e8a212174e9">createNotation</a> (const XMLCh *name)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#a510813f689dcc51325653e8a212174e9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a05aba6d6b8be3bafe3856b644befe6c7">createElementNS</a> (const XMLCh *namespaceURI, const XMLCh *qualifiedName, const XMLFileLoc lineNum, const XMLFileLoc columnNum)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Non-standard extension. <a href="#a05aba6d6b8be3bafe3856b644befe6c7"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
2020-02-17 21:17:06 +00:00
<tr><td colspan="2"><div class="groupHeader">Hidden constructors</div></td></tr>
2020-02-17 21:23:16 +00:00
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp7d629e77fff660516f7d86e8f54695d0"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxercesc_1_1DOMDocument.html#a93e8dc9c007b8f1071dec11af3330f88">DOMDocument</a> ()</td></tr>
2020-02-17 21:19:57 +00:00
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
2020-02-17 21:23:16 +00:00
<p>The <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface represents the entire XML document. </p>
2020-02-17 21:19:57 +00:00
<p>Conceptually, it is the root of the document tree, and provides the primary access to the document's data. </p>
2020-02-17 21:23:16 +00:00
<p>Since elements, text nodes, comments, processing instructions, etc. cannot exist outside the context of a <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code>, the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> interface also contains the factory methods needed to create these objects. The <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code> objects created have a <code>ownerDocument</code> attribute which associates them with the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> within whose context they were created. </p>
2020-02-17 21:19:57 +00:00
<p>See also the <a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113">Document Object Model (DOM) Level 2 Core Specification</a>. </p>
2020-02-17 21:23:16 +00:00
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
2020-02-17 21:19:57 +00:00
<a class="anchor" id="a93e8dc9c007b8f1071dec11af3330f88"></a><!-- doxytag: member="xercesc::DOMDocument::DOMDocument" ref="a93e8dc9c007b8f1071dec11af3330f88" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">xercesc::DOMDocument::DOMDocument </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [inline, protected]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2e870121ac366f158c770563aecf2c3b"></a><!-- doxytag: member="xercesc::DOMDocument::~DOMDocument" ref="a2e870121ac366f158c770563aecf2c3b" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual xercesc::DOMDocument::~DOMDocument </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [inline, virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af45712bf8cda8015cbe97d39dd196284"></a><!-- doxytag: member="xercesc::DOMDocument::adoptNode" ref="af45712bf8cda8015cbe97d39dd196284" args="(DOMNode *source)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMDocument::adoptNode </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>source</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Changes the <code>ownerDocument</code> of a node, its children, as well as the attached attribute nodes if there are any. </p>
<p>If the node has a parent it is first removed from its parent child list. This effectively allows moving a subtree from one document to another. The following list describes the specifics for each type of node.</p>
2020-02-17 21:19:08 +00:00
<dl>
<dt>ATTRIBUTE_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd>The <code>ownerElement</code> attribute is set to <code>null</code> and the <code>specified</code> flag is set to <code>true</code> on the adopted <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code>. The descendants of the source <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> are recursively adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>DOCUMENT_FRAGMENT_NODE </dt>
<dd>The descendants of the source node are recursively adopted. </dd>
<dt>DOCUMENT_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> nodes cannot be adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>DOCUMENT_TYPE_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> nodes cannot be adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>ELEMENT_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd>Specified attribute nodes of the source element are adopted, and the generated <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> nodes. Default attributes are discarded, though if the document being adopted into defines default attributes for this element name, those are assigned. The descendants of the source element are recursively adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>ENTITY_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a></code> nodes cannot be adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>ENTITY_REFERENCE_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd>Only the <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> node itself is adopted, the descendants are discarded, since the source and destination documents might have defined the entity differently. If the document being imported into provides a definition for this entity name, its value is assigned. </dd>
2020-02-17 21:19:08 +00:00
<dt>NOTATION_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code> nodes cannot be adopted. </dd>
2020-02-17 21:19:08 +00:00
<dt>PROCESSING_INSTRUCTION_NODE, TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE </dt>
<dd>These nodes can all be adopted. No specifics. </dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>The node to move into this document. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The adopted node, or <code>null</code> if this operation fails, such as when the source node comes from a different implementation. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NOT_SUPPORTED_ERR: Raised if the source node is of type <code>DOCUMENT</code>, <code>DOCUMENT_TYPE</code>. <br/>
2020-02-17 21:19:08 +00:00
NO_MODIFICATION_ALLOWED_ERR: Raised when the source node is readonly. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a7288d0935ff48866916dcda2a050d0ca"></a><!-- doxytag: member="xercesc::DOMDocument::createAttribute" ref="a7288d0935ff48866916dcda2a050d0ca" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>* xercesc::DOMDocument::createAttribute </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Creates an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> of the given name. </p>
2020-02-17 21:23:16 +00:00
<p>Note that the <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> instance can then be set on an <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> using the <code>setAttributeNode</code> method. <br/>
2020-02-17 21:19:57 +00:00
To create an attribute with a qualified name and namespace URI, use the <code>createAttributeNS</code> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> object with the <code>nodeName</code> attribute set to <code>name</code>, and <code>localName</code>, <code>prefix</code>, and <code>namespaceURI</code> set to <code>null</code>. The value of the attribute is the empty string. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a68f4951e21f37a4cc1cde7d7a88bf242"></a><!-- doxytag: member="xercesc::DOMDocument::createAttributeNS" ref="a68f4951e21f37a4cc1cde7d7a88bf242" args="(const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a>* xercesc::DOMDocument::createAttributeNS </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
2020-02-17 21:10:06 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em></td><td>&nbsp;</td>
2020-02-17 21:10:06 +00:00
</tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Creates an attribute of the given qualified name and namespace URI. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the attribute to create. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the attribute to instantiate. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> object with the following attributes: <table border="1" cellspacing="3" cellpadding="3">
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>Attribute</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>Value</code> </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.nodeName</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>qualifiedName </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.namespaceURI</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>namespaceURI</code> </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.prefix</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>prefix, extracted from <code>qualifiedName</code>, or <code>null</code> if there is no prefix </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.localName</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>local name, extracted from <code>qualifiedName</code> </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMAttr.name</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>qualifiedName</code> </p>
</td></tr>
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.nodeValue</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>the empty string </p>
</td></tr>
2020-02-17 21:19:08 +00:00
</table>
</dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character, per the XML 1.0 specification . <br/>
2020-02-17 21:19:57 +00:00
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed per the Namespaces in XML specification, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code>, if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from "
http://www.w3.org/XML/1998/namespace", or if the <code>qualifiedName</code>, or its prefix, is "xmlns" and the <code>namespaceURI</code> is different from "
http://www.w3.org/2000/xmlns/". <br/>
2020-02-17 21:19:08 +00:00
NOT_SUPPORTED_ERR: Always thrown if the current document does not support the <code>"XML"</code> feature, since namespaces were defined by XML. </td></tr>
2020-02-17 21:10:06 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:10:06 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a4eb2a430dd3c77d40000594eb25a80f9"></a><!-- doxytag: member="xercesc::DOMDocument::createCDATASection" ref="a4eb2a430dd3c77d40000594eb25a80f9" args="(const XMLCh *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a>* xercesc::DOMDocument::createCDATASection </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>data</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates a <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> node whose value is the specified string. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data for the <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> contents. </td></tr>
2020-02-17 21:10:06 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:10:06 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The new <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> object. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a5169031ed4289d87084e9c662f198ab6"></a><!-- doxytag: member="xercesc::DOMDocument::createComment" ref="a5169031ed4289d87084e9c662f198ab6" args="(const XMLCh *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a>* xercesc::DOMDocument::createComment </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>data</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
2020-02-17 21:10:06 +00:00
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates a <code><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a></code> node given the specified string. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data for the node. </td></tr>
2020-02-17 21:10:06 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:10:06 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The new <code><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a></code> object. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a9cb25f221e8ce1cd40951b4ed3ec113d"></a><!-- doxytag: member="xercesc::DOMDocument::createDocumentFragment" ref="a9cb25f221e8ce1cd40951b4ed3ec113d" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentFragment.html">DOMDocumentFragment</a>* xercesc::DOMDocument::createDocumentFragment </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
2020-02-17 21:10:06 +00:00
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument...">DOMDocumentFragment</a></code> object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument...">DOMDocumentFragment</a></code>. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="afba31cc58c4334720a19c3ff845aaa5a"></a><!-- doxytag: member="xercesc::DOMDocument::createDocumentType" ref="afba31cc58c4334720a19c3ff845aaa5a" args="(const XMLCh *qName, const XMLCh *, const XMLCh *)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>* xercesc::DOMDocument::createDocumentType </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qName</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td class="paramname">, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [inline, virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
</div>
</div>
<a class="anchor" id="a1053258f824ade183b50f7d645048e56"></a><!-- doxytag: member="xercesc::DOMDocument::createDocumentType" ref="a1053258f824ade183b50f7d645048e56" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>* xercesc::DOMDocument::createDocumentType </td>
<td>(</td>
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Non-standard extension. </p>
<p>Create a <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> that references the newly created <a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a> node. </dd></dl>
2020-02-17 21:19:57 +00:00
</div>
</div>
<a class="anchor" id="ae85ccc2bef950fc7a97ed628edfd188e"></a><!-- doxytag: member="xercesc::DOMDocument::createElement" ref="ae85ccc2bef950fc7a97ed628edfd188e" args="(const XMLCh *tagName)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMDocument::createElement </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>tagName</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Creates an element of the type specified. </p>
2020-02-17 21:23:16 +00:00
<p>Note that the instance returned implements the <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> interface, so attributes can be specified directly on the returned object. <br/>
2020-02-17 21:19:57 +00:00
In addition, if there are known attributes with default values, <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> nodes representing them are automatically created and attached to the element. <br/>
To create an element with a qualified name and namespace URI, use the <code>createElementNS</code> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>tagName</em>&nbsp;</td><td>The name of the element type to instantiate. For XML, this is case-sensitive. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> object with the <code>nodeName</code> attribute set to <code>tagName</code>, and <code>localName</code>, <code>prefix</code>, and <code>namespaceURI</code> set to <code>null</code>. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a05aba6d6b8be3bafe3856b644befe6c7"></a><!-- doxytag: member="xercesc::DOMDocument::createElementNS" ref="a05aba6d6b8be3bafe3856b644befe6c7" args="(const XMLCh *namespaceURI, const XMLCh *qualifiedName, const XMLFileLoc lineNum, const XMLFileLoc columnNum)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMDocument::createElementNS </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLFileLoc&nbsp;</td>
<td class="paramname"> <em>lineNum</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLFileLoc&nbsp;</td>
<td class="paramname"> <em>columnNum</em></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Non-standard extension. </p>
<p>Creates an element of the given qualified name and namespace URI, and also stores line/column number info. Used by internally XSDXercesDOMParser during schema traversal.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classxercesc_1_1DOMDocument.html#a57ad839d6e17bc10d0b9239b74b49444" title="Creates an element of the given qualified name and namespace URI.">createElementNS(const XMLCh *namespaceURI, const XMLCh *qualifiedName)</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a57ad839d6e17bc10d0b9239b74b49444"></a><!-- doxytag: member="xercesc::DOMDocument::createElementNS" ref="a57ad839d6e17bc10d0b9239b74b49444" args="(const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMDocument::createElementNS </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Creates an element of the given qualified name and namespace URI. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the element to create. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The qualified name of the element type to instantiate. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> object with the following attributes: <table border="1" cellspacing="3" cellpadding="3">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>Attribute</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>Value</code> </p>
</td></tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.nodeName</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>qualifiedName</code> </p>
</td></tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.namespaceURI</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>namespaceURI</code> </p>
</td></tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.prefix</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>prefix, extracted from <code>qualifiedName</code>, or <code>null</code> if there is no prefix </p>
</td></tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMNode.localName</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p>local name, extracted from <code>qualifiedName</code> </p>
</td></tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:23:16 +00:00
<td valign="top" rowspan="1" colspan="1"><p><code>DOMElement.tagName</code> </p>
</td><td valign="top" rowspan="1" colspan="1"><p><code>qualifiedName</code> </p>
</td></tr>
2020-02-17 21:05:20 +00:00
</table>
</dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified qualified name contains an illegal character, per the XML 1.0 specification . <br/>
2020-02-17 21:19:57 +00:00
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed per the Namespaces in XML specification, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code>, or if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from "
http://www.w3.org/XML/1998/namespace" . <br/>
2020-02-17 21:05:20 +00:00
NOT_SUPPORTED_ERR: Always thrown if the current document does not support the <code>"XML"</code> feature, since namespaces were defined by XML. </td></tr>
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="af20f740c1124ea064c6a1b4543b08078"></a><!-- doxytag: member="xercesc::DOMDocument::createEntity" ref="af20f740c1124ea064c6a1b4543b08078" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a>* xercesc::DOMDocument::createEntity </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Non-standard extension. </p>
<p>Create a new entity. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the entity to instantiate </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
</div>
</div>
<a class="anchor" id="a8861289d08c5efc973316cbf4130d9c0"></a><!-- doxytag: member="xercesc::DOMDocument::createEntityReference" ref="a8861289d08c5efc973316cbf4130d9c0" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a>* xercesc::DOMDocument::createEntityReference </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates an <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> object. </p>
<p>In addition, if the referenced entity is known, the child list of the <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> node is made the same as that of the corresponding <code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a></code> node.If any descendant of the <code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a></code> node has an unbound namespace prefix, the corresponding descendant of the created <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> node is also unbound; (its <code>namespaceURI</code> is <code>null</code>). The DOM Level 2 does not support any mechanism to resolve namespace prefixes. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the entity to reference. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The new <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> object. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified name contains an illegal character. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a510813f689dcc51325653e8a212174e9"></a><!-- doxytag: member="xercesc::DOMDocument::createNotation" ref="a510813f689dcc51325653e8a212174e9" args="(const XMLCh *name)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a>* xercesc::DOMDocument::createNotation </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>name</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:19:08 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Non-standard extension. </p>
<p>Create a Notation. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the notation to instantiate </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A <code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code> that references the newly created <a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a> node. </dd></dl>
</div>
</div>
<a class="anchor" id="a65f8ff9afe0dd0038138859a10ad6ece"></a><!-- doxytag: member="xercesc::DOMDocument::createProcessingInstruction" ref="a65f8ff9afe0dd0038138859a10ad6ece" args="(const XMLCh *target, const XMLCh *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a>* xercesc::DOMDocument::createProcessingInstruction </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>target</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>data</em></td><td>&nbsp;</td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates a <code><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;...">DOMProcessingInstruction</a></code> node given the specified name and data strings. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>target</em>&nbsp;</td><td>The target part of the processing instruction. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data for the node. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The new <code><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html" title="The DOMProcessingInstruction interface represents a &quot;processing instruction&quot;...">DOMProcessingInstruction</a></code> object. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>INVALID_CHARACTER_ERR: Raised if the specified target contains an illegal character. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="ad22c9611afa0947e1b0699c3d879058f"></a><!-- doxytag: member="xercesc::DOMDocument::createTextNode" ref="ad22c9611afa0947e1b0699c3d879058f" args="(const XMLCh *data)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMText.html">DOMText</a>* xercesc::DOMDocument::createTextNode </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>data</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Creates a <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a></code> node given the specified string. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em>&nbsp;</td><td>The data for the node. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The new <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a></code> object. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a698a34a6561e2ecf2883e43d10e2e9a4"></a><!-- doxytag: member="xercesc::DOMDocument::getDoctype" ref="a698a34a6561e2ecf2883e43d10e2e9a4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a>* xercesc::DOMDocument::getDoctype </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>The Document Type Declaration (see <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code>) associated with this document. </p>
<p>For XML documents without a document type declaration this returns <code>null</code>. The DOM Level 2 does not support editing the Document Type Declaration. <code>docType</code> cannot be altered in any way, including through the use of methods inherited from the <code><a class="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>insertNode</code> or <code>removeNode</code>. </p>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a09709e8fef5e0eeec5a9378e5aa69af1"></a><!-- doxytag: member="xercesc::DOMDocument::getDocumentElement" ref="a09709e8fef5e0eeec5a9378e5aa69af1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMDocument::getDocumentElement </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>This is a convenience attribute that allows direct access to the child node that is the root element of the document. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="afe21d6a1919ada2ab34f3f977b25b5e7"></a><!-- doxytag: member="xercesc::DOMDocument::getDocumentURI" ref="afe21d6a1919ada2ab34f3f977b25b5e7" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const XMLCh* xercesc::DOMDocument::getDocumentURI </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>The location of the document or <code>null</code> if undefined. </p>
<p><br/>
Beware that when the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> supports the feature "HTML" , the href attribute of the HTML BASE element takes precedence over this attribute.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a5a91a9920107fdd96f31062e329e6889"></a><!-- doxytag: member="xercesc::DOMDocument::getDOMConfig" ref="a5a91a9920107fdd96f31062e329e6889" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMConfiguration.html">DOMConfiguration</a>* xercesc::DOMDocument::getDOMConfig </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>The configuration used when <a class="el" href="classxercesc_1_1DOMDocument.html#ac4a3e3ffb33ce907f211d216b356f8fb" title="This method acts as if the document was going through a save and load cycle, putting...">DOMDocument::normalizeDocument</a> is invoked. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <code><a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains...">DOMConfiguration</a></code> from this <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code></dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="adedb2f19695a35b83fde6a584d4b748f"></a><!-- doxytag: member="xercesc::DOMDocument::getElementById" ref="adedb2f19695a35b83fde6a584d4b748f" args="(const XMLCh *elementId) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a>* xercesc::DOMDocument::getElementById </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>elementId</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Returns the <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> whose <code>ID</code> is given by <code>elementId</code>. </p>
2020-02-17 21:19:57 +00:00
<p>If no such element exists, returns <code>null</code>. Behavior is not defined if more than one element has this <code>ID</code>. The DOM implementation must have information that says which attributes are of type ID. Attributes with the name "ID" are not of type ID unless so defined. Implementations that do not know whether attributes are of type ID or not are expected to return <code>null</code>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>elementId</em>&nbsp;</td><td>The unique <code>id</code> value for an element. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The matching element. </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="aaf893c3414d8c80270a31e5079bb6912"></a><!-- doxytag: member="xercesc::DOMDocument::getElementsByTagName" ref="aaf893c3414d8c80270a31e5079bb6912" args="(const XMLCh *tagname) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a>* xercesc::DOMDocument::getElementsByTagName </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>tagname</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Returns a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> of all the <code>DOMElement(s)</code> with a given tag name in the order in which they are encountered in a preorder traversal of the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> tree. </p>
2020-02-17 21:19:57 +00:00
<p>The returned node list is "live", in that changes to the document tree made after a nodelist was initially returned will be immediately reflected in the node list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>tagname</em>&nbsp;</td><td>The name of the tag to match on. The special value "*" matches all tags. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> object containing all the matched <code>DOMElement(s)</code>. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a76a0638aff510d4c6db4ffadd942735c"></a><!-- doxytag: member="xercesc::DOMDocument::getElementsByTagNameNS" ref="a76a0638aff510d4c6db4ffadd942735c" args="(const XMLCh *namespaceURI, const XMLCh *localName) const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:19:08 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a>* xercesc::DOMDocument::getElementsByTagNameNS </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>localName</em></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>Returns a <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> of all the <code>DOMElement(s)</code> with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> tree. </p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The namespace URI of the elements to match on. The special value "*" matches all namespaces. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>localName</em>&nbsp;</td><td>The local name of the elements to match on. The special value "*" matches all local names. </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:23:16 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <code><a class="el" href="classxercesc_1_1DOMNodeList.html" title="The DOMNodeList interface provides the abstraction of an ordered collection of nodes...">DOMNodeList</a></code> object containing all the matched <code>DOMElement(s)</code>. </dd></dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="a707639b27e69e69f8cd032049ce2e34e"></a><!-- doxytag: member="xercesc::DOMDocument::getImplementation" ref="a707639b27e69e69f8cd032049ce2e34e" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a>* xercesc::DOMDocument::getImplementation </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
2020-02-17 21:23:16 +00:00
<p>The <code><a class="el" href="classxercesc_1_1DOMImplementation.html" title="The DOMImplementation interface provides a number of methods for performing operations...">DOMImplementation</a></code> object that handles this document. </p>
2020-02-17 21:19:57 +00:00
<p>A DOM application may use objects from multiple implementations. </p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 1 </dd></dl>
</div>
</div>
<a class="anchor" id="a41294dce7bec784014dfc9a36774e87f"></a><!-- doxytag: member="xercesc::DOMDocument::getInputEncoding" ref="a41294dce7bec784014dfc9a36774e87f" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const XMLCh* xercesc::DOMDocument::getInputEncoding </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying the encoding used for this document at the time of the parsing. </p>
<p>This is <code>null</code> when it is not known, such as when the <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> was created in memory.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="acba504f87d55e1de05af8a3c3757b6e1"></a><!-- doxytag: member="xercesc::DOMDocument::getStrictErrorChecking" ref="acba504f87d55e1de05af8a3c3757b6e1" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual bool xercesc::DOMDocument::getStrictErrorChecking </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying whether errors checking is enforced or not. </p>
<p>When set to <code>false</code>, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any <code><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></code>. In case of error, the behavior is undefined. This attribute is <code>true</code> by defaults.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="ad990c4ad200ffbd79c8d51b53942078a"></a><!-- doxytag: member="xercesc::DOMDocument::getXmlEncoding" ref="ad990c4ad200ffbd79c8d51b53942078a" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const XMLCh* xercesc::DOMDocument::getXmlEncoding </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying, as part of the XML declaration, the encoding of this document. </p>
<p>This is <code>null</code> when unspecified or when it is not known, such as when the <a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a> was created in memory.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a29933f976c29320f1563da63e5a20881"></a><!-- doxytag: member="xercesc::DOMDocument::getXmlStandalone" ref="a29933f976c29320f1563da63e5a20881" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual bool xercesc::DOMDocument::getXmlStandalone </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:10:06 +00:00
</tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying, as part of the XML declaration, whether this document is standalone. </p>
<p>This is <code>false</code> when unspecified.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a3c5c4935c7165674c667f44e1fe6ced0"></a><!-- doxytag: member="xercesc::DOMDocument::getXmlVersion" ref="a3c5c4935c7165674c667f44e1fe6ced0" args="() const =0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual const XMLCh* xercesc::DOMDocument::getXmlVersion </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td> const<code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying, as part of the XML declaration, the version number of this document. </p>
<p>This is <code>null</code> when unspecified. <br/>
This attribute represents the property [version] defined in .</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="afbd4386d834deaf4a5fd77aa327709a7"></a><!-- doxytag: member="xercesc::DOMDocument::importNode" ref="afbd4386d834deaf4a5fd77aa327709a7" args="(const DOMNode *importedNode, bool deep)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMDocument::importNode </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>importedNode</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>deep</em></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Imports a node from another document to this document. </p>
<p>The returned node has no parent; (<code>parentNode</code> is <code>null</code>). The source node is not altered or removed from the original document; this method creates a new copy of the source node. <br/>
2020-02-17 21:23:16 +00:00
For all nodes, importing a node creates a node object owned by the importing document, with attribute values identical to the source node's <code>nodeName</code> and <code>nodeType</code>, plus the attributes related to namespaces (<code>prefix</code>, <code>localName</code>, and <code>namespaceURI</code>). As in the <code>cloneNode</code> operation on a <code><a class="el" href="classxercesc_1_1DOMNode.html" title="The DOMNode interface is the primary datatype for the entire Document Object Model...">DOMNode</a></code>, the source node is not altered. <br/>
2020-02-17 21:19:57 +00:00
Additional information is copied as appropriate to the <code>nodeType</code>, attempting to mirror the behavior expected if a fragment of XML source was copied from one document to another, recognizing that the two documents may have different DTDs in the XML case. The following list describes the specifics for each type of node. </p>
<dl>
2020-02-17 21:05:20 +00:00
<dt>ATTRIBUTE_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd>The <code>ownerElement</code> attribute is set to <code>null</code> and the <code>specified</code> flag is set to <code>true</code> on the generated <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code>. The descendants of the source <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> are recursively imported and the resulting nodes reassembled to form the corresponding subtree. Note that the <code>deep</code> parameter has no effect on <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> nodes; they always carry their children with them when imported. </dd>
2020-02-17 21:05:20 +00:00
<dt>DOCUMENT_FRAGMENT_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd>If the <code>deep</code> option was set to <code>true</code>, the descendants of the source element are recursively imported and the resulting nodes reassembled to form the corresponding subtree. Otherwise, this simply generates an empty <code><a class="el" href="classxercesc_1_1DOMDocumentFragment.html" title="DOMDocumentFragment is a &quot;lightweight&quot; or &quot;minimal&quot; DOMDocument...">DOMDocumentFragment</a></code>. </dd>
2020-02-17 21:05:20 +00:00
<dt>DOCUMENT_NODE </dt>
2020-02-17 21:19:57 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> nodes cannot be imported. </dd>
2020-02-17 21:05:20 +00:00
<dt>DOCUMENT_TYPE_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> nodes cannot be imported. </dd>
2020-02-17 21:05:20 +00:00
<dt>ELEMENT_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd>Specified attribute nodes of the source element are imported, and the generated <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> nodes are attached to the generated <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code>. Default attributes are not copied, though if the document being imported into defines default attributes for this element name, those are assigned. If the <code>importNode</code> <code>deep</code> parameter was set to <code>true</code>, the descendants of the source element are recursively imported and the resulting nodes reassembled to form the corresponding subtree. </dd>
2020-02-17 21:05:20 +00:00
<dt>ENTITY_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a></code> nodes can be imported, however in the current release of the DOM the <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> is readonly. Ability to add these imported nodes to a <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> will be considered for addition to a future release of the DOM.On import, the <code>publicId</code>, <code>systemId</code>, and <code>notationName</code> attributes are copied. If a <code>deep</code> import is requested, the descendants of the the source <code><a class="el" href="classxercesc_1_1DOMEntity.html" title="This interface represents an entity, either parsed or unparsed, in an XML document...">DOMEntity</a></code> are recursively imported and the resulting nodes reassembled to form the corresponding subtree. </dd>
2020-02-17 21:05:20 +00:00
<dt>ENTITY_REFERENCE_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd>Only the <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> itself is copied, even if a <code>deep</code> import is requested, since the source and destination documents might have defined the entity differently. If the document being imported into provides a definition for this entity name, its value is assigned. </dd>
2020-02-17 21:05:20 +00:00
<dt>NOTATION_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd><code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code> nodes can be imported, however in the current release of the DOM the <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> is readonly. Ability to add these imported nodes to a <code><a class="el" href="classxercesc_1_1DOMDocumentType.html" title="Each DOMDocument has a doctype attribute whose value is either null or a DOMDocumentType...">DOMDocumentType</a></code> will be considered for addition to a future release of the DOM.On import, the <code>publicId</code> and <code>systemId</code> attributes are copied. Note that the <code>deep</code> parameter has no effect on <code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code> nodes since they never have any children. </dd>
2020-02-17 21:19:08 +00:00
<dt>PROCESSING_INSTRUCTION_NODE </dt>
<dd>The imported node copies its <code>target</code> and <code>data</code> values from those of the source node. </dd>
<dt>TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE </dt>
2020-02-17 21:23:16 +00:00
<dd>These three types of nodes inheriting from <code><a class="el" href="classxercesc_1_1DOMCharacterData.html" title="The DOMCharacterData interface extends DOMNode with a set of attributes and methods...">DOMCharacterData</a></code> copy their <code>data</code> and <code>length</code> attributes from those of the source node. </dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>importedNode</em>&nbsp;</td><td>The node to import. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>deep</em>&nbsp;</td><td>If <code>true</code>, recursively import the subtree under the specified node; if <code>false</code>, import only the node itself, as explained above. This has no effect on <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> , <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code>, and <code><a class="el" href="classxercesc_1_1DOMNotation.html" title="This interface represents a notation declared in the DTD.">DOMNotation</a></code> nodes. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The imported node that belongs to this <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code>. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NOT_SUPPORTED_ERR: Raised if the type of node being imported is not supported. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 2 </dd></dl>
</div>
</div>
<a class="anchor" id="ac4a3e3ffb33ce907f211d216b356f8fb"></a><!-- doxytag: member="xercesc::DOMDocument::normalizeDocument" ref="ac4a3e3ffb33ce907f211d216b356f8fb" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMDocument::normalizeDocument </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>This method acts as if the document was going through a save and load cycle, putting the document in a "normal" form. </p>
2020-02-17 21:23:16 +00:00
<p>The actual result depends on the features being set. See <code><a class="el" href="classxercesc_1_1DOMConfiguration.html" title="The DOMConfiguration interface represents the configuration of a document and maintains...">DOMConfiguration</a></code> for details.</p>
2020-02-17 21:19:57 +00:00
<p><br/>
2020-02-17 21:23:16 +00:00
Noticeably this method normalizes <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a></code> nodes, makes the document "namespace wellformed", according to the algorithm described below in pseudo code, by adding missing namespace declaration attributes and adding or changing namespace prefixes, updates the replacement tree of <code><a class="el" href="classxercesc_1_1DOMEntityReference.html" title="DOMEntityReference objects may be inserted into the structure model when an entity...">DOMEntityReference</a></code> nodes, normalizes attribute values, etc. <br/>
Mutation events, when supported, are generated to reflect the changes occurring on the document. Note that this is a partial implementation. Not all the required features are implemented. Currently <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> and <code><a class="el" href="classxercesc_1_1DOMText.html" title="The DOMText interface inherits from DOMCharacterData and represents the textual content...">DOMText</a></code> nodes are normalized. Features to remove <code><a class="el" href="classxercesc_1_1DOMComment.html" title="This interface inherits from CharacterData and represents the content of a comment...">DOMComment</a></code> and <code><a class="el" href="classxercesc_1_1DOMCDATASection.html" title="CDATA sections are used to escape blocks of text containing characters that would...">DOMCDATASection</a></code> work. </p>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a97feed548120669330168b9eefd676ea"></a><!-- doxytag: member="xercesc::DOMDocument::renameNode" ref="a97feed548120669330168b9eefd676ea" args="(DOMNode *n, const XMLCh *namespaceURI, const XMLCh *qualifiedName)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual <a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a>* xercesc::DOMDocument::renameNode </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype"><a class="el" href="classxercesc_1_1DOMNode.html">DOMNode</a> *&nbsp;</td>
<td class="paramname"> <em>n</em>, </td>
2020-02-17 21:05:20 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>namespaceURI</em>, </td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td class="paramkey"></td>
<td></td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>qualifiedName</em></td><td>&nbsp;</td>
2020-02-17 21:19:08 +00:00
</tr>
<tr>
2020-02-17 21:19:57 +00:00
<td></td>
<td>)</td>
2020-02-17 21:23:16 +00:00
<td></td><td></td><td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>Rename an existing node. </p>
<p>When possible this simply changes the name of the given node, otherwise this creates a new node with the specified name and replaces the existing node with the new node as described below. This only applies to nodes of type <code>ELEMENT_NODE</code> and <code>ATTRIBUTE_NODE</code>. <br/>
2020-02-17 21:23:16 +00:00
When a new node is created, the following operations are performed: the new node is created, any registered event listener is registered on the new node, any user data attached to the old node is removed from that node, the old node is removed from its parent if it has one, the children are moved to the new node, if the renamed node is an <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> its attributes are moved to the new node, the new node is inserted at the position the old node used to have in its parent's child nodes list if it has one, the user data that was attached to the old node is attach to the new node, the user data event <code>NODE_RENAMED</code> is fired. <br/>
When the node being renamed is an <code><a class="el" href="classxercesc_1_1DOMAttr.html" title="The DOMAttr class refers to an attribute of an XML element.">DOMAttr</a></code> that is attached to an <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code>, the node is first removed from the <code><a class="el" href="classxercesc_1_1DOMElement.html" title="By far the vast majority of objects (apart from text) that authors encounter when...">DOMElement</a></code> attributes map. Then, once renamed, either by modifying the existing node or creating a new one as described above, it is put back.</p>
2020-02-17 21:19:57 +00:00
<dl><dt><b>Parameters:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>The node to rename. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>namespaceURI</em>&nbsp;</td><td>The new namespaceURI. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>qualifiedName</em>&nbsp;</td><td>The new qualified name. </td></tr>
2020-02-17 21:05:20 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:05:20 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="return"><dt><b>Returns:</b></dt><dd>The renamed node. This is either the specified node or the new node that was created to replace the specified node. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
2020-02-17 21:23:16 +00:00
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></em>&nbsp;</td><td>NOT_SUPPORTED_ERR: Raised when the type of the specified node is neither <code>ELEMENT_NODE</code> nor <code>ATTRIBUTE_NODE</code>. <br/>
2020-02-17 21:19:57 +00:00
WRONG_DOCUMENT_ERR: Raised when the specified node was created from a different document than this document. <br/>
NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is malformed per the Namespaces in XML specification, if the <code>qualifiedName</code> has a prefix and the <code>namespaceURI</code> is <code>null</code>, or if the <code>qualifiedName</code> has a prefix that is "xml" and the <code>namespaceURI</code> is different from "
http://www.w3.org/XML/1998/namespace" . Also raised, when the node being renamed is an attribute, if the <code>qualifiedName</code>, or its prefix, is "xmlns" and the <code>namespaceURI</code> is different from "http://www.w3.org/2000/xmlns/". </td></tr>
2020-02-17 21:19:08 +00:00
</table>
2020-02-17 21:19:57 +00:00
</dd>
2020-02-17 21:19:08 +00:00
</dl>
2020-02-17 21:19:57 +00:00
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a660099866e9add0a1e1dd1f97c05a2e5"></a><!-- doxytag: member="xercesc::DOMDocument::setDocumentURI" ref="a660099866e9add0a1e1dd1f97c05a2e5" args="(const XMLCh *documentURI)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMDocument::setDocumentURI </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>documentURI</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>The location of the document or <code>null</code> if undefined. </p>
<p><br/>
Beware that when the <code><a class="el" href="classxercesc_1_1DOMDocument.html" title="The DOMDocument interface represents the entire XML document.">DOMDocument</a></code> supports the feature "HTML" , the href attribute of the HTML BASE element takes precedence over this attribute.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="acd3e1baf80b464f2450d0fda8d365e9e"></a><!-- doxytag: member="xercesc::DOMDocument::setStrictErrorChecking" ref="acd3e1baf80b464f2450d0fda8d365e9e" args="(bool strictErrorChecking)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:10:06 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMDocument::setStrictErrorChecking </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>strictErrorChecking</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying whether errors checking is enforced or not. </p>
<p>When set to <code>false</code>, the implementation is free to not test every possible error case normally defined on DOM operations, and not raise any <code><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a></code>. In case of error, the behavior is undefined. This attribute is <code>true</code> by defaults.</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="a616c27be91cf745f08e1f1b30bccb13a"></a><!-- doxytag: member="xercesc::DOMDocument::setXmlStandalone" ref="a616c27be91cf745f08e1f1b30bccb13a" args="(bool standalone)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMDocument::setXmlStandalone </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">bool&nbsp;</td>
<td class="paramname"> <em>standalone</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying, as part of the XML declaration, whether this document is standalone. </p>
<p><br/>
This attribute represents the property [standalone] defined in .</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<a class="anchor" id="ae0fb6f84c26cd570e8a8d05885fa7292"></a><!-- doxytag: member="xercesc::DOMDocument::setXmlVersion" ref="ae0fb6f84c26cd570e8a8d05885fa7292" args="(const XMLCh *version)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
2020-02-17 21:05:20 +00:00
<tr>
2020-02-17 21:19:57 +00:00
<td class="memname">virtual void xercesc::DOMDocument::setXmlVersion </td>
<td>(</td>
2020-02-17 21:23:16 +00:00
<td class="paramtype">const XMLCh *&nbsp;</td>
<td class="paramname"> <em>version</em></td>
<td>&nbsp;)&nbsp;</td>
2020-02-17 21:19:57 +00:00
<td><code> [pure virtual]</code></td>
2020-02-17 21:05:20 +00:00
</tr>
</table>
2020-02-17 21:19:57 +00:00
</div>
<div class="memdoc">
<p>An attribute specifying, as part of the XML declaration, the version number of this document. </p>
<p>This is <code>null</code> when unspecified. <br/>
This attribute represents the property [version] defined in .</p>
<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DOMDocument_8hpp_source.html">DOMDocument.hpp</a></li>
</ul>
</div>
2020-02-17 21:24:17 +00:00
<hr size="1"/><address style="text-align: right;"><small>Generated on 18 May 2015 for XQilla DOM Level 3 API by&nbsp;
2020-02-17 21:05:20 +00:00
<a href="http://www.doxygen.org/index.html">
2020-02-17 21:23:16 +00:00
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
2020-02-17 21:05:20 +00:00
</body>
</html>