1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.9.1"/>
7 <title>libxml++: xmlpp::Node Class Reference</title>
8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
11 <link href="doxygen.css" rel="stylesheet" type="text/css" />
12 <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
15 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <table cellspacing="0" cellpadding="0">
19 <tr style="height: 56px;">
20 <td style="padding-left: 0.5em;">
21 <div id="projectname">libxml++
22  <span id="projectnumber">2.91.2</span>
29 <!-- end header part -->
30 <!-- Generated by Doxygen 1.8.9.1 -->
31 <div id="navrow1" class="tabs">
33 <li><a href="index.html"><span>Main Page</span></a></li>
34 <li><a href="pages.html"><span>Related Pages</span></a></li>
35 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
36 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
39 <div id="navrow2" class="tabs2">
41 <li><a href="annotated.html"><span>Class List</span></a></li>
42 <li><a href="classes.html"><span>Class Index</span></a></li>
43 <li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
44 <li><a href="functions.html"><span>Class Members</span></a></li>
47 <div id="nav-path" class="navpath">
49 <li class="navelem"><a class="el" href="namespacexmlpp.html">xmlpp</a></li><li class="navelem"><a class="el" href="classxmlpp_1_1Node.html">Node</a></li> </ul>
54 <a href="#pub-types">Public Types</a> |
55 <a href="#pub-methods">Public Member Functions</a> |
56 <a href="#pub-static-methods">Static Public Member Functions</a> |
57 <a href="classxmlpp_1_1Node-members.html">List of all members</a> </div>
58 <div class="headertitle">
59 <div class="title">xmlpp::Node Class Reference</div> </div>
61 <div class="contents">
63 <p>Represents XML Nodes.
64 <a href="classxmlpp_1_1Node.html#details">More...</a></p>
66 <p><code>#include <libxml++/nodes/node.h></code></p>
67 <div class="dynheader">
68 Inheritance diagram for xmlpp::Node:</div>
69 <div class="dyncontent">
70 <div class="center"><img src="classxmlpp_1_1Node__inherit__graph.png" border="0" usemap="#xmlpp_1_1Node_inherit__map" alt="Inheritance graph"/></div>
71 <map name="xmlpp_1_1Node_inherit__map" id="xmlpp_1_1Node_inherit__map">
72 <area shape="rect" id="node3" href="classxmlpp_1_1Attribute.html" title="Represents an XML Node attribute. " alt="" coords="380,56,505,83"/><area shape="rect" id="node6" href="classxmlpp_1_1ContentNode.html" title="Content Node. " alt="" coords="365,183,520,209"/><area shape="rect" id="node12" href="classxmlpp_1_1Element.html" title="Element nodes have attributes as well as child nodes. " alt="" coords="381,233,504,260"/><area shape="rect" id="node13" href="classxmlpp_1_1EntityReference.html" title="Entity references refer to previously declared entities. " alt="" coords="359,284,527,311"/><area shape="rect" id="node14" href="classxmlpp_1_1XIncludeEnd.html" title="XIncludeEnd node. " alt="" coords="369,335,516,361"/><area shape="rect" id="node15" href="classxmlpp_1_1XIncludeStart.html" title="XIncludeStart node. " alt="" coords="365,385,520,412"/><area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="A base for classes which cannot be copied. " alt="" coords="5,259,160,285"/><area shape="rect" id="node4" href="classxmlpp_1_1AttributeDeclaration.html" title="Represents the default value of an attribute of an XML Element node. " alt="" coords="595,5,793,32"/><area shape="rect" id="node5" href="classxmlpp_1_1AttributeNode.html" title="Represents an explicit attribute of an XML Element node. " alt="" coords="615,56,773,83"/><area shape="rect" id="node7" href="classxmlpp_1_1CdataNode.html" title="CData node. " alt="" coords="623,107,765,133"/><area shape="rect" id="node8" href="classxmlpp_1_1CommentNode.html" title="Comment Node. " alt="" coords="611,157,777,184"/><area shape="rect" id="node9" href="classxmlpp_1_1EntityDeclaration.html" title="Entity declaration. " alt="" coords="605,208,783,235"/><area shape="rect" id="node10" href="classxmlpp_1_1ProcessingInstructionNode.html" title="xmlpp::ProcessingInstructionNode" alt="" coords="575,259,813,285"/><area shape="rect" id="node11" href="classxmlpp_1_1TextNode.html" title="Text Node. " alt="" coords="630,309,758,336"/></map>
73 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
74 <table class="memberdecls">
75 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
76 Public Types</h2></td></tr>
77 <tr class="memitem:aaf3cb4ca29eb057c38b19b658abda4ab"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00464.html">std::list</a>< const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aaf3cb4ca29eb057c38b19b658abda4ab">const_NodeList</a></td></tr>
78 <tr class="separator:aaf3cb4ca29eb057c38b19b658abda4ab"><td class="memSeparator" colspan="2"> </td></tr>
79 <tr class="memitem:a4d2f4bb3777b906f07d225ee5bcea966"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">const_NodeSet</a></td></tr>
80 <tr class="separator:a4d2f4bb3777b906f07d225ee5bcea966"><td class="memSeparator" colspan="2"> </td></tr>
81 <tr class="memitem:a7b0205c6df142d060dfca9119fadff49"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00464.html">std::list</a>< <a class="el" href="classxmlpp_1_1Node.html">Node</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a></td></tr>
82 <tr class="separator:a7b0205c6df142d060dfca9119fadff49"><td class="memSeparator" colspan="2"> </td></tr>
83 <tr class="memitem:aa3398e473cd07d91614cd89f1cf3aa37"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>< <a class="el" href="classxmlpp_1_1Node.html">Node</a>* > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">NodeSet</a></td></tr>
84 <tr class="separator:aa3398e473cd07d91614cd89f1cf3aa37"><td class="memSeparator" colspan="2"> </td></tr>
85 <tr class="memitem:a0175dca099d30f45ebbfd6a238420426"><td class="memItemLeft" align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00825.html">std::map</a>< <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>, <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a></td></tr>
86 <tr class="memdesc:a0175dca099d30f45ebbfd6a238420426"><td class="mdescLeft"> </td><td class="mdescRight">A map of namespace prefixes to namespace URIs. <a href="#a0175dca099d30f45ebbfd6a238420426">More...</a><br /></td></tr>
87 <tr class="separator:a0175dca099d30f45ebbfd6a238420426"><td class="memSeparator" colspan="2"> </td></tr>
88 </table><table class="memberdecls">
89 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
90 Public Member Functions</h2></td></tr>
91 <tr class="memitem:a215d8c01b6b01596c4ea853f99dce8e7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a215d8c01b6b01596c4ea853f99dce8e7">Node</a> (_xmlNode* node)</td></tr>
92 <tr class="separator:a215d8c01b6b01596c4ea853f99dce8e7"><td class="memSeparator" colspan="2"> </td></tr>
93 <tr class="memitem:aed8dc1eea15e3e1ac42b43a49c3016ba"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aed8dc1eea15e3e1ac42b43a49c3016ba">~Node</a> () override</td></tr>
94 <tr class="memdesc:aed8dc1eea15e3e1ac42b43a49c3016ba"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aed8dc1eea15e3e1ac42b43a49c3016ba">More...</a><br /></td></tr>
95 <tr class="separator:aed8dc1eea15e3e1ac42b43a49c3016ba"><td class="memSeparator" colspan="2"> </td></tr>
96 <tr class="memitem:aeede250f5cf6de5f55cb7bb94084ec7c"><td class="memItemLeft" align="right" valign="top">_xmlNode* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aeede250f5cf6de5f55cb7bb94084ec7c">cobj</a> ()</td></tr>
97 <tr class="memdesc:aeede250f5cf6de5f55cb7bb94084ec7c"><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#aeede250f5cf6de5f55cb7bb94084ec7c">More...</a><br /></td></tr>
98 <tr class="separator:aeede250f5cf6de5f55cb7bb94084ec7c"><td class="memSeparator" colspan="2"> </td></tr>
99 <tr class="memitem:a831eea0dbe1e51a350a9b20a2da47fc9"><td class="memItemLeft" align="right" valign="top">const _xmlNode* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a831eea0dbe1e51a350a9b20a2da47fc9">cobj</a> () const </td></tr>
100 <tr class="memdesc:a831eea0dbe1e51a350a9b20a2da47fc9"><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#a831eea0dbe1e51a350a9b20a2da47fc9">More...</a><br /></td></tr>
101 <tr class="separator:a831eea0dbe1e51a350a9b20a2da47fc9"><td class="memSeparator" colspan="2"> </td></tr>
102 <tr class="memitem:ae8988c7f4e67edefb937f5447885f93a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ae8988c7f4e67edefb937f5447885f93a">eval_to_boolean</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
103 <tr class="memdesc:ae8988c7f4e67edefb937f5447885f93a"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#ae8988c7f4e67edefb937f5447885f93a">More...</a><br /></td></tr>
104 <tr class="separator:ae8988c7f4e67edefb937f5447885f93a"><td class="memSeparator" colspan="2"> </td></tr>
105 <tr class="memitem:a34f9662bb9799899f7d8553ce8905fbe"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a34f9662bb9799899f7d8553ce8905fbe">eval_to_boolean</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& namespaces, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
106 <tr class="memdesc:a34f9662bb9799899f7d8553ce8905fbe"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#a34f9662bb9799899f7d8553ce8905fbe">More...</a><br /></td></tr>
107 <tr class="separator:a34f9662bb9799899f7d8553ce8905fbe"><td class="memSeparator" colspan="2"> </td></tr>
108 <tr class="memitem:a47b9e43f49cdf34dd8c6f1c29c3515c5"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a47b9e43f49cdf34dd8c6f1c29c3515c5">eval_to_number</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
109 <tr class="memdesc:a47b9e43f49cdf34dd8c6f1c29c3515c5"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#a47b9e43f49cdf34dd8c6f1c29c3515c5">More...</a><br /></td></tr>
110 <tr class="separator:a47b9e43f49cdf34dd8c6f1c29c3515c5"><td class="memSeparator" colspan="2"> </td></tr>
111 <tr class="memitem:afccccafd8aec8ad99f97646473e5040b"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#afccccafd8aec8ad99f97646473e5040b">eval_to_number</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& namespaces, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
112 <tr class="memdesc:afccccafd8aec8ad99f97646473e5040b"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#afccccafd8aec8ad99f97646473e5040b">More...</a><br /></td></tr>
113 <tr class="separator:afccccafd8aec8ad99f97646473e5040b"><td class="memSeparator" colspan="2"> </td></tr>
114 <tr class="memitem:abb70aab3d697af6c5ce6b74c4b4efc42"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#abb70aab3d697af6c5ce6b74c4b4efc42">eval_to_string</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
115 <tr class="memdesc:abb70aab3d697af6c5ce6b74c4b4efc42"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#abb70aab3d697af6c5ce6b74c4b4efc42">More...</a><br /></td></tr>
116 <tr class="separator:abb70aab3d697af6c5ce6b74c4b4efc42"><td class="memSeparator" colspan="2"> </td></tr>
117 <tr class="memitem:a32deb54bf7aeb60ed72311bb482d2037"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a32deb54bf7aeb60ed72311bb482d2037">eval_to_string</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& namespaces, <a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* result_type=nullptr) const </td></tr>
118 <tr class="memdesc:a32deb54bf7aeb60ed72311bb482d2037"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate an XPath expression. <a href="#a32deb54bf7aeb60ed72311bb482d2037">More...</a><br /></td></tr>
119 <tr class="separator:a32deb54bf7aeb60ed72311bb482d2037"><td class="memSeparator" colspan="2"> </td></tr>
120 <tr class="memitem:a84d04898c3a0e66b561f3c64a014844b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a84d04898c3a0e66b561f3c64a014844b">find</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath)</td></tr>
121 <tr class="memdesc:a84d04898c3a0e66b561f3c64a014844b"><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from an XPath expression. <a href="#a84d04898c3a0e66b561f3c64a014844b">More...</a><br /></td></tr>
122 <tr class="separator:a84d04898c3a0e66b561f3c64a014844b"><td class="memSeparator" colspan="2"> </td></tr>
123 <tr class="memitem:a9423e5a53bba97abebff80fae7cb1357"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">const_NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a9423e5a53bba97abebff80fae7cb1357">find</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath) const </td></tr>
124 <tr class="memdesc:a9423e5a53bba97abebff80fae7cb1357"><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from an XPath expression. <a href="#a9423e5a53bba97abebff80fae7cb1357">More...</a><br /></td></tr>
125 <tr class="separator:a9423e5a53bba97abebff80fae7cb1357"><td class="memSeparator" colspan="2"> </td></tr>
126 <tr class="memitem:a149be85738b3e6d241799e2f8197c645"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a149be85738b3e6d241799e2f8197c645">find</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& namespaces)</td></tr>
127 <tr class="memdesc:a149be85738b3e6d241799e2f8197c645"><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from an XPath expression. <a href="#a149be85738b3e6d241799e2f8197c645">More...</a><br /></td></tr>
128 <tr class="separator:a149be85738b3e6d241799e2f8197c645"><td class="memSeparator" colspan="2"> </td></tr>
129 <tr class="memitem:a19242c3b11a18da6e64ff224a98df41e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">const_NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a19242c3b11a18da6e64ff224a98df41e">find</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& namespaces) const </td></tr>
130 <tr class="memdesc:a19242c3b11a18da6e64ff224a98df41e"><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from an XPath expression. <a href="#a19242c3b11a18da6e64ff224a98df41e">More...</a><br /></td></tr>
131 <tr class="separator:a19242c3b11a18da6e64ff224a98df41e"><td class="memSeparator" colspan="2"> </td></tr>
132 <tr class="memitem:abb9d4d7aad234b9b01ae7fe404915a95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#abb9d4d7aad234b9b01ae7fe404915a95">get_children</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
133 <tr class="memdesc:abb9d4d7aad234b9b01ae7fe404915a95"><td class="mdescLeft"> </td><td class="mdescRight">Obtain the list of child nodes. <a href="#abb9d4d7aad234b9b01ae7fe404915a95">More...</a><br /></td></tr>
134 <tr class="separator:abb9d4d7aad234b9b01ae7fe404915a95"><td class="memSeparator" colspan="2"> </td></tr>
135 <tr class="memitem:a05ba9eea29d180cea04068566d812d9e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#aaf3cb4ca29eb057c38b19b658abda4ab">const_NodeList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a05ba9eea29d180cea04068566d812d9e">get_children</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr>
136 <tr class="memdesc:a05ba9eea29d180cea04068566d812d9e"><td class="mdescLeft"> </td><td class="mdescRight">Obtain the list of child nodes. <a href="#a05ba9eea29d180cea04068566d812d9e">More...</a><br /></td></tr>
137 <tr class="separator:a05ba9eea29d180cea04068566d812d9e"><td class="memSeparator" colspan="2"> </td></tr>
138 <tr class="memitem:a0e244ac3573fc927bcb0f70d6b70f5d2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a0e244ac3573fc927bcb0f70d6b70f5d2">get_first_child</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr>
139 <tr class="memdesc:a0e244ac3573fc927bcb0f70d6b70f5d2"><td class="mdescLeft"> </td><td class="mdescRight">Get the first child of this node. <a href="#a0e244ac3573fc927bcb0f70d6b70f5d2">More...</a><br /></td></tr>
140 <tr class="separator:a0e244ac3573fc927bcb0f70d6b70f5d2"><td class="memSeparator" colspan="2"> </td></tr>
141 <tr class="memitem:a5eb1d1e3d4616604da7cf58da15b6fa7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a5eb1d1e3d4616604da7cf58da15b6fa7">get_first_child</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name=<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
142 <tr class="memdesc:a5eb1d1e3d4616604da7cf58da15b6fa7"><td class="mdescLeft"> </td><td class="mdescRight">Get the first child of this node. <a href="#a5eb1d1e3d4616604da7cf58da15b6fa7">More...</a><br /></td></tr>
143 <tr class="separator:a5eb1d1e3d4616604da7cf58da15b6fa7"><td class="memSeparator" colspan="2"> </td></tr>
144 <tr class="memitem:a5e21f3a9996e25bd2df5ec8ce9906575"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a5e21f3a9996e25bd2df5ec8ce9906575">get_line</a> () const </td></tr>
145 <tr class="memdesc:a5e21f3a9996e25bd2df5ec8ce9906575"><td class="mdescLeft"> </td><td class="mdescRight">Discover at what line number this node occurs in the XML file. <a href="#a5e21f3a9996e25bd2df5ec8ce9906575">More...</a><br /></td></tr>
146 <tr class="separator:a5e21f3a9996e25bd2df5ec8ce9906575"><td class="memSeparator" colspan="2"> </td></tr>
147 <tr class="memitem:ad8cba86cb7f43dd512f5b6817ed47d9a"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ad8cba86cb7f43dd512f5b6817ed47d9a">get_name</a> () const </td></tr>
148 <tr class="memdesc:ad8cba86cb7f43dd512f5b6817ed47d9a"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of this node. <a href="#ad8cba86cb7f43dd512f5b6817ed47d9a">More...</a><br /></td></tr>
149 <tr class="separator:ad8cba86cb7f43dd512f5b6817ed47d9a"><td class="memSeparator" colspan="2"> </td></tr>
150 <tr class="memitem:a06790680c79808f1a56ddea438a6df5c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a06790680c79808f1a56ddea438a6df5c">get_namespace_prefix</a> () const </td></tr>
151 <tr class="memdesc:a06790680c79808f1a56ddea438a6df5c"><td class="mdescLeft"> </td><td class="mdescRight">Get the namespace prefix of this node. <a href="#a06790680c79808f1a56ddea438a6df5c">More...</a><br /></td></tr>
152 <tr class="separator:a06790680c79808f1a56ddea438a6df5c"><td class="memSeparator" colspan="2"> </td></tr>
153 <tr class="memitem:a9356e5ee02dbc809f9bf139b12befc6c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a9356e5ee02dbc809f9bf139b12befc6c">get_namespace_uri</a> () const </td></tr>
154 <tr class="memdesc:a9356e5ee02dbc809f9bf139b12befc6c"><td class="mdescLeft"> </td><td class="mdescRight">Get the namespace URI of this node. <a href="#a9356e5ee02dbc809f9bf139b12befc6c">More...</a><br /></td></tr>
155 <tr class="separator:a9356e5ee02dbc809f9bf139b12befc6c"><td class="memSeparator" colspan="2"> </td></tr>
156 <tr class="memitem:a59a3e52fd752c243654a2cb58b1b0e18"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a59a3e52fd752c243654a2cb58b1b0e18">get_next_sibling</a> () const </td></tr>
157 <tr class="memdesc:a59a3e52fd752c243654a2cb58b1b0e18"><td class="mdescLeft"> </td><td class="mdescRight">Get the next sibling for this node. <a href="#a59a3e52fd752c243654a2cb58b1b0e18">More...</a><br /></td></tr>
158 <tr class="separator:a59a3e52fd752c243654a2cb58b1b0e18"><td class="memSeparator" colspan="2"> </td></tr>
159 <tr class="memitem:a2576ce35a6a3dd13b49e857524360ac4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a2576ce35a6a3dd13b49e857524360ac4">get_next_sibling</a> ()</td></tr>
160 <tr class="memdesc:a2576ce35a6a3dd13b49e857524360ac4"><td class="mdescLeft"> </td><td class="mdescRight">Get the next sibling for this node. <a href="#a2576ce35a6a3dd13b49e857524360ac4">More...</a><br /></td></tr>
161 <tr class="separator:a2576ce35a6a3dd13b49e857524360ac4"><td class="memSeparator" colspan="2"> </td></tr>
162 <tr class="memitem:aa8a68ac1887a33e44e3af365bd02db1b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Element.html">Element</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa8a68ac1887a33e44e3af365bd02db1b">get_parent</a> () const </td></tr>
163 <tr class="memdesc:aa8a68ac1887a33e44e3af365bd02db1b"><td class="mdescLeft"> </td><td class="mdescRight">Get the parent element for this node. <a href="#aa8a68ac1887a33e44e3af365bd02db1b">More...</a><br /></td></tr>
164 <tr class="separator:aa8a68ac1887a33e44e3af365bd02db1b"><td class="memSeparator" colspan="2"> </td></tr>
165 <tr class="memitem:a998e8cb924bd04abf72e57b68d2817f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a998e8cb924bd04abf72e57b68d2817f4">get_parent</a> ()</td></tr>
166 <tr class="memdesc:a998e8cb924bd04abf72e57b68d2817f4"><td class="mdescLeft"> </td><td class="mdescRight">Get the parent element for this node. <a href="#a998e8cb924bd04abf72e57b68d2817f4">More...</a><br /></td></tr>
167 <tr class="separator:a998e8cb924bd04abf72e57b68d2817f4"><td class="memSeparator" colspan="2"> </td></tr>
168 <tr class="memitem:ad05b43e18a4600ada423b74a59efb541"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ad05b43e18a4600ada423b74a59efb541">get_path</a> () const </td></tr>
169 <tr class="memdesc:ad05b43e18a4600ada423b74a59efb541"><td class="mdescLeft"> </td><td class="mdescRight">Get the XPath of this node. <a href="#ad05b43e18a4600ada423b74a59efb541">More...</a><br /></td></tr>
170 <tr class="separator:ad05b43e18a4600ada423b74a59efb541"><td class="memSeparator" colspan="2"> </td></tr>
171 <tr class="memitem:aa3ca83ba6e10ff21060be5d0441fa6ac"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa3ca83ba6e10ff21060be5d0441fa6ac">get_previous_sibling</a> () const </td></tr>
172 <tr class="memdesc:aa3ca83ba6e10ff21060be5d0441fa6ac"><td class="mdescLeft"> </td><td class="mdescRight">Get the previous sibling for this node . <a href="#aa3ca83ba6e10ff21060be5d0441fa6ac">More...</a><br /></td></tr>
173 <tr class="separator:aa3ca83ba6e10ff21060be5d0441fa6ac"><td class="memSeparator" colspan="2"> </td></tr>
174 <tr class="memitem:a567be4ebaffb2cd3dd2ae602c8df4a29"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a567be4ebaffb2cd3dd2ae602c8df4a29">get_previous_sibling</a> ()</td></tr>
175 <tr class="memdesc:a567be4ebaffb2cd3dd2ae602c8df4a29"><td class="mdescLeft"> </td><td class="mdescRight">Get the previous sibling for this node. <a href="#a567be4ebaffb2cd3dd2ae602c8df4a29">More...</a><br /></td></tr>
176 <tr class="separator:a567be4ebaffb2cd3dd2ae602c8df4a29"><td class="memSeparator" colspan="2"> </td></tr>
177 <tr class="memitem:aea42eae72fa7901aa1fb8f5c0fd194ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aea42eae72fa7901aa1fb8f5c0fd194ec">import_node</a> (const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* node, bool recursive=true)</td></tr>
178 <tr class="memdesc:aea42eae72fa7901aa1fb8f5c0fd194ec"><td class="mdescLeft"> </td><td class="mdescRight">Import node(s) from another document under this node, without affecting the source node. <a href="#aea42eae72fa7901aa1fb8f5c0fd194ec">More...</a><br /></td></tr>
179 <tr class="separator:aea42eae72fa7901aa1fb8f5c0fd194ec"><td class="memSeparator" colspan="2"> </td></tr>
180 <tr class="memitem:ab5e1b1059a2af0818b1a8937fad49835"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ab5e1b1059a2af0818b1a8937fad49835">set_name</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& name)</td></tr>
181 <tr class="memdesc:ab5e1b1059a2af0818b1a8937fad49835"><td class="mdescLeft"> </td><td class="mdescRight">Set the name of this node. <a href="#ab5e1b1059a2af0818b1a8937fad49835">More...</a><br /></td></tr>
182 <tr class="separator:ab5e1b1059a2af0818b1a8937fad49835"><td class="memSeparator" colspan="2"> </td></tr>
183 <tr class="memitem:a4ddefaaaf3f0b550e776e9100bc23257"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a4ddefaaaf3f0b550e776e9100bc23257">set_namespace</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& ns_prefix)</td></tr>
184 <tr class="memdesc:a4ddefaaaf3f0b550e776e9100bc23257"><td class="mdescLeft"> </td><td class="mdescRight">Set the namespace prefix used by the node. <a href="#a4ddefaaaf3f0b550e776e9100bc23257">More...</a><br /></td></tr>
185 <tr class="separator:a4ddefaaaf3f0b550e776e9100bc23257"><td class="memSeparator" colspan="2"> </td></tr>
186 </table><table class="memberdecls">
187 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
188 Static Public Member Functions</h2></td></tr>
189 <tr class="memitem:a616a872d0fbd86206c0beee0be5abee3"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a616a872d0fbd86206c0beee0be5abee3">create_wrapper</a> (_xmlNode* node)</td></tr>
190 <tr class="memdesc:a616a872d0fbd86206c0beee0be5abee3"><td class="mdescLeft"> </td><td class="mdescRight">Construct the correct C++ instance for a given libxml C struct instance. <a href="#a616a872d0fbd86206c0beee0be5abee3">More...</a><br /></td></tr>
191 <tr class="separator:a616a872d0fbd86206c0beee0be5abee3"><td class="memSeparator" colspan="2"> </td></tr>
192 <tr class="memitem:aa47901df78305a685fc9682cd44290d6"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa47901df78305a685fc9682cd44290d6">free_wrappers</a> (_xmlNode* node)</td></tr>
193 <tr class="memdesc:aa47901df78305a685fc9682cd44290d6"><td class="mdescLeft"> </td><td class="mdescRight">Delete the C++ instance for a given libxml C struct instance, and also recursively destroy the C++ instances for any children. <a href="#aa47901df78305a685fc9682cd44290d6">More...</a><br /></td></tr>
194 <tr class="separator:aa47901df78305a685fc9682cd44290d6"><td class="memSeparator" colspan="2"> </td></tr>
195 <tr class="memitem:af3af70bdc909d8d272b3df0634fb291b"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#af3af70bdc909d8d272b3df0634fb291b">remove_node</a> (<a class="el" href="classxmlpp_1_1Node.html">Node</a>* node)</td></tr>
196 <tr class="memdesc:af3af70bdc909d8d272b3df0634fb291b"><td class="mdescLeft"> </td><td class="mdescRight">Remove a node and its children. <a href="#af3af70bdc909d8d272b3df0634fb291b">More...</a><br /></td></tr>
197 <tr class="separator:af3af70bdc909d8d272b3df0634fb291b"><td class="memSeparator" colspan="2"> </td></tr>
198 </table><table class="memberdecls">
199 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
200 Additional Inherited Members</h2></td></tr>
201 <tr class="inherit_header pro_methods_classxmlpp_1_1NonCopyable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classxmlpp_1_1NonCopyable')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classxmlpp_1_1NonCopyable.html">xmlpp::NonCopyable</a></td></tr>
202 <tr class="memitem:a77c785ff1149642caa3058f49223f112 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1NonCopyable.html#a77c785ff1149642caa3058f49223f112">NonCopyable</a> ()</td></tr>
203 <tr class="separator:a77c785ff1149642caa3058f49223f112 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memSeparator" colspan="2"> </td></tr>
204 <tr class="memitem:aded750a42a8acdd5ed63827c158f7763 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1NonCopyable.html#aded750a42a8acdd5ed63827c158f7763">NonCopyable</a> (const <a class="el" href="classxmlpp_1_1NonCopyable.html">NonCopyable</a>&)=delete</td></tr>
205 <tr class="separator:aded750a42a8acdd5ed63827c158f7763 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memSeparator" colspan="2"> </td></tr>
206 <tr class="memitem:a14e2e0391beb4b8f20f5d51e8a253d63 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1NonCopyable.html#a14e2e0391beb4b8f20f5d51e8a253d63">~NonCopyable</a> ()</td></tr>
207 <tr class="separator:a14e2e0391beb4b8f20f5d51e8a253d63 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memSeparator" colspan="2"> </td></tr>
208 <tr class="memitem:adef35c286da3c2b8c90da9bb50aaddf1 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1NonCopyable.html">NonCopyable</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1NonCopyable.html#adef35c286da3c2b8c90da9bb50aaddf1">operator=</a> (const <a class="el" href="classxmlpp_1_1NonCopyable.html">NonCopyable</a>&)=delete</td></tr>
209 <tr class="separator:adef35c286da3c2b8c90da9bb50aaddf1 inherit pro_methods_classxmlpp_1_1NonCopyable"><td class="memSeparator" colspan="2"> </td></tr>
211 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
212 <div class="textblock"><p>Represents XML Nodes. </p>
213 <p>You should never new and delete Nodes. The <a class="el" href="classxmlpp_1_1Parser.html" title="XML parser. ">Parser</a> will create and manage them for you. Furthermore, <a class="el" href="classxmlpp_1_1Document.html" title="Represents an XML document in the DOM model. ">Document</a> and <a class="el" href="classxmlpp_1_1Element.html" title="Element nodes have attributes as well as child nodes. ">Element</a> have methods for adding Nodes to a <a class="el" href="classxmlpp_1_1Document.html" title="Represents an XML document in the DOM model. ">Document</a>. </p>
214 </div><h2 class="groupheader">Member Typedef Documentation</h2>
215 <a class="anchor" id="aaf3cb4ca29eb057c38b19b658abda4ab"></a>
216 <div class="memitem">
217 <div class="memproto">
218 <table class="memname">
220 <td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00464.html">std::list</a><const <a class="el" href="classxmlpp_1_1Node.html">Node</a>*> <a class="el" href="classxmlpp_1_1Node.html#aaf3cb4ca29eb057c38b19b658abda4ab">xmlpp::Node::const_NodeList</a></td>
223 </div><div class="memdoc">
227 <a class="anchor" id="a4d2f4bb3777b906f07d225ee5bcea966"></a>
228 <div class="memitem">
229 <div class="memproto">
230 <table class="memname">
232 <td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a><const <a class="el" href="classxmlpp_1_1Node.html">Node</a>*> <a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">xmlpp::Node::const_NodeSet</a></td>
235 </div><div class="memdoc">
239 <a class="anchor" id="a7b0205c6df142d060dfca9119fadff49"></a>
240 <div class="memitem">
241 <div class="memproto">
242 <table class="memname">
244 <td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00464.html">std::list</a><<a class="el" href="classxmlpp_1_1Node.html">Node</a>*> <a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">xmlpp::Node::NodeList</a></td>
247 </div><div class="memdoc">
251 <a class="anchor" id="aa3398e473cd07d91614cd89f1cf3aa37"></a>
252 <div class="memitem">
253 <div class="memproto">
254 <table class="memname">
256 <td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a><<a class="el" href="classxmlpp_1_1Node.html">Node</a>*> <a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">xmlpp::Node::NodeSet</a></td>
259 </div><div class="memdoc">
263 <a class="anchor" id="a0175dca099d30f45ebbfd6a238420426"></a>
264 <div class="memitem">
265 <div class="memproto">
266 <table class="memname">
268 <td class="memname">typedef <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00825.html">std::map</a><<a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>, <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">xmlpp::Node::PrefixNsMap</a></td>
271 </div><div class="memdoc">
273 <p>A map of namespace prefixes to namespace URIs. </p>
277 <h2 class="groupheader">Constructor & Destructor Documentation</h2>
278 <a class="anchor" id="a215d8c01b6b01596c4ea853f99dce8e7"></a>
279 <div class="memitem">
280 <div class="memproto">
281 <table class="mlabels">
283 <td class="mlabels-left">
284 <table class="memname">
286 <td class="memname">xmlpp::Node::Node </td>
288 <td class="paramtype">_xmlNode * </td>
289 <td class="paramname"><em>node</em></td><td>)</td>
294 <td class="mlabels-right">
295 <span class="mlabels"><span class="mlabel">explicit</span></span> </td>
298 </div><div class="memdoc">
299 <dl class="exception"><dt>Exceptions</dt><dd>
300 <table class="exception">
301 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If <em>node</em> is <code>nullptr</code>. </td></tr>
308 <a class="anchor" id="aed8dc1eea15e3e1ac42b43a49c3016ba"></a>
309 <div class="memitem">
310 <div class="memproto">
311 <table class="mlabels">
313 <td class="mlabels-left">
314 <table class="memname">
316 <td class="memname">xmlpp::Node::~Node </td>
318 <td class="paramname"></td><td>)</td>
323 <td class="mlabels-right">
324 <span class="mlabels"><span class="mlabel">override</span></span> </td>
327 </div><div class="memdoc">
330 <p>Does not destroy the underlying xmlNode. The xmlNode is owned by a xmlDoc document. If you want to also destroy the xmlNode, use <a class="el" href="classxmlpp_1_1Node.html#af3af70bdc909d8d272b3df0634fb291b" title="Remove a node and its children. ">remove_node()</a>. </p>
334 <h2 class="groupheader">Member Function Documentation</h2>
335 <a class="anchor" id="aeede250f5cf6de5f55cb7bb94084ec7c"></a>
336 <div class="memitem">
337 <div class="memproto">
338 <table class="memname">
340 <td class="memname">_xmlNode* xmlpp::Node::cobj </td>
342 <td class="paramname"></td><td>)</td>
346 </div><div class="memdoc">
348 <p>Access the underlying libxml implementation. </p>
352 <a class="anchor" id="a831eea0dbe1e51a350a9b20a2da47fc9"></a>
353 <div class="memitem">
354 <div class="memproto">
355 <table class="memname">
357 <td class="memname">const _xmlNode* xmlpp::Node::cobj </td>
359 <td class="paramname"></td><td>)</td>
363 </div><div class="memdoc">
365 <p>Access the underlying libxml implementation. </p>
369 <a class="anchor" id="a616a872d0fbd86206c0beee0be5abee3"></a>
370 <div class="memitem">
371 <div class="memproto">
372 <table class="mlabels">
374 <td class="mlabels-left">
375 <table class="memname">
377 <td class="memname">static void xmlpp::Node::create_wrapper </td>
379 <td class="paramtype">_xmlNode * </td>
380 <td class="paramname"><em>node</em></td><td>)</td>
385 <td class="mlabels-right">
386 <span class="mlabels"><span class="mlabel">static</span></span> </td>
389 </div><div class="memdoc">
391 <p>Construct the correct C++ instance for a given libxml C struct instance. </p>
392 <p>This is only for use by the libxml++ implementation.</p>
393 <dl class="params"><dt>Parameters</dt><dd>
394 <table class="params">
395 <tr><td class="paramname">node</td><td>A pointer to an xmlNode or a "derived" struct, such as xmlDoc, xmlAttr, etc. </td></tr>
402 <a class="anchor" id="ae8988c7f4e67edefb937f5447885f93a"></a>
403 <div class="memitem">
404 <div class="memproto">
405 <table class="memname">
407 <td class="memname">bool xmlpp::Node::eval_to_boolean </td>
409 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
410 <td class="paramname"><em>xpath</em>, </td>
413 <td class="paramkey"></td>
415 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
416 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
421 <td></td><td> const</td>
424 </div><div class="memdoc">
426 <p>Evaluate an XPath expression. </p>
427 <dl class="params"><dt>Parameters</dt><dd>
428 <table class="params">
429 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
430 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to boolean. If <code>nullptr</code>, the result type is not returned. </td></tr>
434 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type boolean, it is converted to boolean. </dd></dl>
435 <dl class="exception"><dt>Exceptions</dt><dd>
436 <table class="exception">
437 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
438 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
442 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000012">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
446 <a class="anchor" id="a34f9662bb9799899f7d8553ce8905fbe"></a>
447 <div class="memitem">
448 <div class="memproto">
449 <table class="memname">
451 <td class="memname">bool xmlpp::Node::eval_to_boolean </td>
453 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
454 <td class="paramname"><em>xpath</em>, </td>
457 <td class="paramkey"></td>
459 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& </td>
460 <td class="paramname"><em>namespaces</em>, </td>
463 <td class="paramkey"></td>
465 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
466 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
471 <td></td><td> const</td>
474 </div><div class="memdoc">
476 <p>Evaluate an XPath expression. </p>
477 <dl class="params"><dt>Parameters</dt><dd>
478 <table class="params">
479 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
480 <tr><td class="paramdir"></td><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while evaluating. </td></tr>
481 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to boolean. If <code>nullptr</code>, the result type is not returned. </td></tr>
485 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type boolean, it is converted to boolean. </dd></dl>
486 <dl class="exception"><dt>Exceptions</dt><dd>
487 <table class="exception">
488 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
489 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
493 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000013">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
497 <a class="anchor" id="a47b9e43f49cdf34dd8c6f1c29c3515c5"></a>
498 <div class="memitem">
499 <div class="memproto">
500 <table class="memname">
502 <td class="memname">double xmlpp::Node::eval_to_number </td>
504 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
505 <td class="paramname"><em>xpath</em>, </td>
508 <td class="paramkey"></td>
510 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
511 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
516 <td></td><td> const</td>
519 </div><div class="memdoc">
521 <p>Evaluate an XPath expression. </p>
522 <dl class="params"><dt>Parameters</dt><dd>
523 <table class="params">
524 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
525 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to number. If <code>nullptr</code>, the result type is not returned. </td></tr>
529 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type number, it is converted to number. </dd></dl>
530 <dl class="exception"><dt>Exceptions</dt><dd>
531 <table class="exception">
532 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
533 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
537 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000014">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
541 <a class="anchor" id="afccccafd8aec8ad99f97646473e5040b"></a>
542 <div class="memitem">
543 <div class="memproto">
544 <table class="memname">
546 <td class="memname">double xmlpp::Node::eval_to_number </td>
548 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
549 <td class="paramname"><em>xpath</em>, </td>
552 <td class="paramkey"></td>
554 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& </td>
555 <td class="paramname"><em>namespaces</em>, </td>
558 <td class="paramkey"></td>
560 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
561 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
566 <td></td><td> const</td>
569 </div><div class="memdoc">
571 <p>Evaluate an XPath expression. </p>
572 <dl class="params"><dt>Parameters</dt><dd>
573 <table class="params">
574 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
575 <tr><td class="paramdir"></td><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while evaluating. </td></tr>
576 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to number. If <code>nullptr</code>, the result type is not returned. </td></tr>
580 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type number, it is converted to number. </dd></dl>
581 <dl class="exception"><dt>Exceptions</dt><dd>
582 <table class="exception">
583 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
584 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
588 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000015">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
592 <a class="anchor" id="abb70aab3d697af6c5ce6b74c4b4efc42"></a>
593 <div class="memitem">
594 <div class="memproto">
595 <table class="memname">
597 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::eval_to_string </td>
599 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
600 <td class="paramname"><em>xpath</em>, </td>
603 <td class="paramkey"></td>
605 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
606 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
611 <td></td><td> const</td>
614 </div><div class="memdoc">
616 <p>Evaluate an XPath expression. </p>
617 <dl class="params"><dt>Parameters</dt><dd>
618 <table class="params">
619 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
620 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to string. If <code>nullptr</code>, the result type is not returned. </td></tr>
624 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type string, it is converted to string. </dd></dl>
625 <dl class="exception"><dt>Exceptions</dt><dd>
626 <table class="exception">
627 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
628 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
632 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000016">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
636 <a class="anchor" id="a32deb54bf7aeb60ed72311bb482d2037"></a>
637 <div class="memitem">
638 <div class="memproto">
639 <table class="memname">
641 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::eval_to_string </td>
643 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
644 <td class="paramname"><em>xpath</em>, </td>
647 <td class="paramkey"></td>
649 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& </td>
650 <td class="paramname"><em>namespaces</em>, </td>
653 <td class="paramkey"></td>
655 <td class="paramtype"><a class="el" href="namespacexmlpp.html#ac91075edf569a213343d7d13ae4be3c8">XPathResultType</a>* </td>
656 <td class="paramname"><em>result_type</em> = <code>nullptr</code> </td>
661 <td></td><td> const</td>
664 </div><div class="memdoc">
666 <p>Evaluate an XPath expression. </p>
667 <dl class="params"><dt>Parameters</dt><dd>
668 <table class="params">
669 <tr><td class="paramdir"></td><td class="paramname">xpath</td><td>The XPath expression. </td></tr>
670 <tr><td class="paramdir"></td><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while evaluating. </td></tr>
671 <tr><td class="paramdir">[out]</td><td class="paramname">result_type</td><td>Result type of the XPath expression before conversion to string. If <code>nullptr</code>, the result type is not returned. </td></tr>
675 <dl class="section return"><dt>Returns</dt><dd>The value of the XPath expression. If the value is not of type string, it is converted to string. </dd></dl>
676 <dl class="exception"><dt>Exceptions</dt><dd>
677 <table class="exception">
678 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
679 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td></td></tr>
683 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000017">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
687 <a class="anchor" id="a84d04898c3a0e66b561f3c64a014844b"></a>
688 <div class="memitem">
689 <div class="memproto">
690 <table class="memname">
692 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">NodeSet</a> xmlpp::Node::find </td>
694 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
695 <td class="paramname"><em>xpath</em></td><td>)</td>
699 </div><div class="memdoc">
701 <p>Find nodes from an XPath expression. </p>
702 <dl class="params"><dt>Parameters</dt><dd>
703 <table class="params">
704 <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
708 <dl class="section return"><dt>Returns</dt><dd>The resulting NodeSet. </dd></dl>
709 <dl class="exception"><dt>Exceptions</dt><dd>
710 <table class="exception">
711 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
712 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If the result type is not nodeset. </td></tr>
719 <a class="anchor" id="a9423e5a53bba97abebff80fae7cb1357"></a>
720 <div class="memitem">
721 <div class="memproto">
722 <table class="memname">
724 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">const_NodeSet</a> xmlpp::Node::find </td>
726 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
727 <td class="paramname"><em>xpath</em></td><td>)</td>
731 </div><div class="memdoc">
733 <p>Find nodes from an XPath expression. </p>
734 <dl class="params"><dt>Parameters</dt><dd>
735 <table class="params">
736 <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
740 <dl class="section return"><dt>Returns</dt><dd>The resulting const_NodeSet. </dd></dl>
741 <dl class="exception"><dt>Exceptions</dt><dd>
742 <table class="exception">
743 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
744 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If the result type is not nodeset. </td></tr>
751 <a class="anchor" id="a149be85738b3e6d241799e2f8197c645"></a>
752 <div class="memitem">
753 <div class="memproto">
754 <table class="memname">
756 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#aa3398e473cd07d91614cd89f1cf3aa37">NodeSet</a> xmlpp::Node::find </td>
758 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
759 <td class="paramname"><em>xpath</em>, </td>
762 <td class="paramkey"></td>
764 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& </td>
765 <td class="paramname"><em>namespaces</em> </td>
773 </div><div class="memdoc">
775 <p>Find nodes from an XPath expression. </p>
776 <dl class="params"><dt>Parameters</dt><dd>
777 <table class="params">
778 <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
779 <tr><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while finding. </td></tr>
783 <dl class="section return"><dt>Returns</dt><dd>The resulting NodeSet. </dd></dl>
784 <dl class="exception"><dt>Exceptions</dt><dd>
785 <table class="exception">
786 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
787 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If the result type is not nodeset. </td></tr>
794 <a class="anchor" id="a19242c3b11a18da6e64ff224a98df41e"></a>
795 <div class="memitem">
796 <div class="memproto">
797 <table class="memname">
799 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#a4d2f4bb3777b906f07d225ee5bcea966">const_NodeSet</a> xmlpp::Node::find </td>
801 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
802 <td class="paramname"><em>xpath</em>, </td>
805 <td class="paramkey"></td>
807 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>& </td>
808 <td class="paramname"><em>namespaces</em> </td>
813 <td></td><td> const</td>
816 </div><div class="memdoc">
818 <p>Find nodes from an XPath expression. </p>
819 <dl class="params"><dt>Parameters</dt><dd>
820 <table class="params">
821 <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
822 <tr><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while finding. </td></tr>
826 <dl class="section return"><dt>Returns</dt><dd>The resulting const_NodeSet. </dd></dl>
827 <dl class="exception"><dt>Exceptions</dt><dd>
828 <table class="exception">
829 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td>If the XPath expression cannot be evaluated. </td></tr>
830 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1internal__error.html">xmlpp::internal_error</a></td><td>If the result type is not nodeset. </td></tr>
837 <a class="anchor" id="aa47901df78305a685fc9682cd44290d6"></a>
838 <div class="memitem">
839 <div class="memproto">
840 <table class="mlabels">
842 <td class="mlabels-left">
843 <table class="memname">
845 <td class="memname">static void xmlpp::Node::free_wrappers </td>
847 <td class="paramtype">_xmlNode * </td>
848 <td class="paramname"><em>node</em></td><td>)</td>
853 <td class="mlabels-right">
854 <span class="mlabels"><span class="mlabel">static</span></span> </td>
857 </div><div class="memdoc">
859 <p>Delete the C++ instance for a given libxml C struct instance, and also recursively destroy the C++ instances for any children. </p>
860 <p>This is only for use by the libxml++ implementation. </p><dl class="params"><dt>Parameters</dt><dd>
861 <table class="params">
862 <tr><td class="paramname">node</td><td>A pointer to an xmlNode or a "derived" struct, such as xmlDoc, xmlAttr, etc. </td></tr>
869 <a class="anchor" id="abb9d4d7aad234b9b01ae7fe404915a95"></a>
870 <div class="memitem">
871 <div class="memproto">
872 <table class="memname">
874 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a> xmlpp::Node::get_children </td>
876 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
877 <td class="paramname"><em>name</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>)</td>
881 </div><div class="memdoc">
883 <p>Obtain the list of child nodes. </p>
884 <p>You may optionally obtain a list of only the child nodes which have a certain name. </p><dl class="params"><dt>Parameters</dt><dd>
885 <table class="params">
886 <tr><td class="paramname">name</td><td>The names of the child nodes to get. If you do not specify a name, then the list will contain all nodes, regardless of their names. </td></tr>
890 <dl class="section return"><dt>Returns</dt><dd>The list of child nodes. </dd></dl>
894 <a class="anchor" id="a05ba9eea29d180cea04068566d812d9e"></a>
895 <div class="memitem">
896 <div class="memproto">
897 <table class="memname">
899 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#aaf3cb4ca29eb057c38b19b658abda4ab">const_NodeList</a> xmlpp::Node::get_children </td>
901 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
902 <td class="paramname"><em>name</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>)</td>
906 </div><div class="memdoc">
908 <p>Obtain the list of child nodes. </p>
909 <p>You may optionally obtain a list of only the child nodes which have a certain name. </p><dl class="params"><dt>Parameters</dt><dd>
910 <table class="params">
911 <tr><td class="paramname">name</td><td>The names of the child nodes to get. If you do not specify a name, then the list will contain all nodes, regardless of their names. </td></tr>
915 <dl class="section return"><dt>Returns</dt><dd>The list of child nodes. </dd></dl>
919 <a class="anchor" id="a0e244ac3573fc927bcb0f70d6b70f5d2"></a>
920 <div class="memitem">
921 <div class="memproto">
922 <table class="memname">
924 <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_first_child </td>
926 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
927 <td class="paramname"><em>name</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>)</td>
931 </div><div class="memdoc">
933 <p>Get the first child of this node. </p>
934 <p>You may optionally get the first child node which has a certain name. </p><dl class="params"><dt>Parameters</dt><dd>
935 <table class="params">
936 <tr><td class="paramname">name</td><td>The name of the requested child node, or an empty string. </td></tr>
940 <dl class="section return"><dt>Returns</dt><dd>The first child, or <code>nullptr</code> if no child node (with the specified name) exists.</dd></dl>
941 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000010">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
945 <a class="anchor" id="a5eb1d1e3d4616604da7cf58da15b6fa7"></a>
946 <div class="memitem">
947 <div class="memproto">
948 <table class="memname">
950 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_first_child </td>
952 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
953 <td class="paramname"><em>name</em> = <code><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>)</td>
957 </div><div class="memdoc">
959 <p>Get the first child of this node. </p>
960 <p>You may optionally get the first child node which has a certain name. </p><dl class="params"><dt>Parameters</dt><dd>
961 <table class="params">
962 <tr><td class="paramname">name</td><td>The name of the requested child node, or an empty string. </td></tr>
966 <dl class="section return"><dt>Returns</dt><dd>The first child, or <code>nullptr</code> if no child node (with the specified name) exists.</dd></dl>
967 <dl class="since_2_36"><dt><b><a class="el" href="since_2_36.html#_since_2_36000011">Since libxml++ 2.36:</a></b></dt><dd></dd></dl>
971 <a class="anchor" id="a5e21f3a9996e25bd2df5ec8ce9906575"></a>
972 <div class="memitem">
973 <div class="memproto">
974 <table class="memname">
976 <td class="memname">int xmlpp::Node::get_line </td>
978 <td class="paramname"></td><td>)</td>
982 </div><div class="memdoc">
984 <p>Discover at what line number this node occurs in the XML file. </p>
985 <dl class="section return"><dt>Returns</dt><dd>The line number. </dd></dl>
989 <a class="anchor" id="ad8cba86cb7f43dd512f5b6817ed47d9a"></a>
990 <div class="memitem">
991 <div class="memproto">
992 <table class="memname">
994 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_name </td>
996 <td class="paramname"></td><td>)</td>
1000 </div><div class="memdoc">
1002 <p>Get the name of this node. </p>
1003 <dl class="section return"><dt>Returns</dt><dd>The node's name. </dd></dl>
1007 <a class="anchor" id="a06790680c79808f1a56ddea438a6df5c"></a>
1008 <div class="memitem">
1009 <div class="memproto">
1010 <table class="memname">
1012 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_prefix </td>
1014 <td class="paramname"></td><td>)</td>
1018 </div><div class="memdoc">
1020 <p>Get the namespace prefix of this node. </p>
1021 <dl class="section return"><dt>Returns</dt><dd>The node's namespace prefix. Can be an empty string. </dd></dl>
1025 <a class="anchor" id="a9356e5ee02dbc809f9bf139b12befc6c"></a>
1026 <div class="memitem">
1027 <div class="memproto">
1028 <table class="memname">
1030 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_uri </td>
1032 <td class="paramname"></td><td>)</td>
1036 </div><div class="memdoc">
1038 <p>Get the namespace URI of this node. </p>
1039 <dl class="section return"><dt>Returns</dt><dd>The node's namespace URI. Can be an empty string. </dd></dl>
1043 <a class="anchor" id="a59a3e52fd752c243654a2cb58b1b0e18"></a>
1044 <div class="memitem">
1045 <div class="memproto">
1046 <table class="memname">
1048 <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_next_sibling </td>
1050 <td class="paramname"></td><td>)</td>
1054 </div><div class="memdoc">
1056 <p>Get the next sibling for this node. </p>
1057 <dl class="section return"><dt>Returns</dt><dd>The next sibling, or <code>nullptr</code> if the node has no next sibling. </dd></dl>
1061 <a class="anchor" id="a2576ce35a6a3dd13b49e857524360ac4"></a>
1062 <div class="memitem">
1063 <div class="memproto">
1064 <table class="memname">
1066 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_next_sibling </td>
1068 <td class="paramname"></td><td>)</td>
1072 </div><div class="memdoc">
1074 <p>Get the next sibling for this node. </p>
1075 <dl class="section return"><dt>Returns</dt><dd>The next sibling, or <code>nullptr</code> if the node has no next sibling. </dd></dl>
1079 <a class="anchor" id="aa8a68ac1887a33e44e3af365bd02db1b"></a>
1080 <div class="memitem">
1081 <div class="memproto">
1082 <table class="memname">
1084 <td class="memname">const <a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
1086 <td class="paramname"></td><td>)</td>
1090 </div><div class="memdoc">
1092 <p>Get the parent element for this node. </p>
1093 <dl class="section return"><dt>Returns</dt><dd>The parent node, or <code>nullptr</code> if the node has no parent element. </dd></dl>
1097 <a class="anchor" id="a998e8cb924bd04abf72e57b68d2817f4"></a>
1098 <div class="memitem">
1099 <div class="memproto">
1100 <table class="memname">
1102 <td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
1104 <td class="paramname"></td><td>)</td>
1108 </div><div class="memdoc">
1110 <p>Get the parent element for this node. </p>
1111 <dl class="section return"><dt>Returns</dt><dd>The parent node, or <code>nullptr</code> if the node has no parent element. </dd></dl>
1115 <a class="anchor" id="ad05b43e18a4600ada423b74a59efb541"></a>
1116 <div class="memitem">
1117 <div class="memproto">
1118 <table class="memname">
1120 <td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_path </td>
1122 <td class="paramname"></td><td>)</td>
1126 </div><div class="memdoc">
1128 <p>Get the XPath of this node. </p>
1129 <dl class="section return"><dt>Returns</dt><dd>The XPath of the node. </dd></dl>
1133 <a class="anchor" id="aa3ca83ba6e10ff21060be5d0441fa6ac"></a>
1134 <div class="memitem">
1135 <div class="memproto">
1136 <table class="memname">
1138 <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_previous_sibling </td>
1140 <td class="paramname"></td><td>)</td>
1144 </div><div class="memdoc">
1146 <p>Get the previous sibling for this node . </p>
1147 <dl class="section return"><dt>Returns</dt><dd>The previous sibling, or <code>nullptr</code> if the node has no previous sibling. </dd></dl>
1151 <a class="anchor" id="a567be4ebaffb2cd3dd2ae602c8df4a29"></a>
1152 <div class="memitem">
1153 <div class="memproto">
1154 <table class="memname">
1156 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_previous_sibling </td>
1158 <td class="paramname"></td><td>)</td>
1162 </div><div class="memdoc">
1164 <p>Get the previous sibling for this node. </p>
1165 <dl class="section return"><dt>Returns</dt><dd>The previous sibling, or <code>nullptr</code> if the node has no previous sibling. </dd></dl>
1169 <a class="anchor" id="aea42eae72fa7901aa1fb8f5c0fd194ec"></a>
1170 <div class="memitem">
1171 <div class="memproto">
1172 <table class="memname">
1174 <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::import_node </td>
1176 <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td>
1177 <td class="paramname"><em>node</em>, </td>
1180 <td class="paramkey"></td>
1182 <td class="paramtype">bool </td>
1183 <td class="paramname"><em>recursive</em> = <code>true</code> </td>
1191 </div><div class="memdoc">
1193 <p>Import node(s) from another document under this node, without affecting the source node. </p>
1194 <p>If the imported node is an attribute node, and this node has an attribute with the same name as the imported attribute, the existing attribute is destroyed before the imported attribute is added. Any pointer to a destroyed attribute node becomes invalid.</p>
1195 <dl class="params"><dt>Parameters</dt><dd>
1196 <table class="params">
1197 <tr><td class="paramname">node</td><td>The node to copy and insert under the current node. </td></tr>
1198 <tr><td class="paramname">recursive</td><td>Whether to import the child nodes also. Defaults to true. </td></tr>
1202 <dl class="section return"><dt>Returns</dt><dd>Usually the newly created node, but adjacent text nodes are merged, and the old text node with merged contents is returned. </dd></dl>
1203 <dl class="exception"><dt>Exceptions</dt><dd>
1204 <table class="exception">
1205 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td></td></tr>
1212 <a class="anchor" id="af3af70bdc909d8d272b3df0634fb291b"></a>
1213 <div class="memitem">
1214 <div class="memproto">
1215 <table class="mlabels">
1217 <td class="mlabels-left">
1218 <table class="memname">
1220 <td class="memname">static void xmlpp::Node::remove_node </td>
1222 <td class="paramtype"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* </td>
1223 <td class="paramname"><em>node</em></td><td>)</td>
1228 <td class="mlabels-right">
1229 <span class="mlabels"><span class="mlabel">static</span></span> </td>
1232 </div><div class="memdoc">
1234 <p>Remove a node and its children. </p>
1235 <p>The node is disconnected from its parent. The underlying libxml xmlNode instances are also removed.</p>
1236 <dl class="since_3_0"><dt><b><a class="el" href="since_3_0.html#_since_3_0000020">Since libxml++ 3.0:</a></b></dt><dd>Replaces remove_child()</dd></dl>
1237 <dl class="params"><dt>Parameters</dt><dd>
1238 <table class="params">
1239 <tr><td class="paramname">node</td><td>The node to remove. This <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes. ">Node</a> and all its descendants will be deleted and therefore unusable after calling this method. </td></tr>
1246 <a class="anchor" id="ab5e1b1059a2af0818b1a8937fad49835"></a>
1247 <div class="memitem">
1248 <div class="memproto">
1249 <table class="memname">
1251 <td class="memname">void xmlpp::Node::set_name </td>
1253 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
1254 <td class="paramname"><em>name</em></td><td>)</td>
1258 </div><div class="memdoc">
1260 <p>Set the name of this node. </p>
1261 <dl class="params"><dt>Parameters</dt><dd>
1262 <table class="params">
1263 <tr><td class="paramname">name</td><td>The new name for the node. </td></tr>
1270 <a class="anchor" id="a4ddefaaaf3f0b550e776e9100bc23257"></a>
1271 <div class="memitem">
1272 <div class="memproto">
1273 <table class="memname">
1275 <td class="memname">void xmlpp::Node::set_namespace </td>
1277 <td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
1278 <td class="paramname"><em>ns_prefix</em></td><td>)</td>
1282 </div><div class="memdoc">
1284 <p>Set the namespace prefix used by the node. </p>
1285 <p>If no such namespace prefix has been declared then this method will throw an exception. </p><dl class="params"><dt>Parameters</dt><dd>
1286 <table class="params">
1287 <tr><td class="paramname">ns_prefix</td><td>The namespace prefix. </td></tr>
1291 <dl class="exception"><dt>Exceptions</dt><dd>
1292 <table class="exception">
1293 <tr><td class="paramname"><a class="el" href="classxmlpp_1_1exception.html" title="Base class for all xmlpp exceptions. ">xmlpp::exception</a></td><td></td></tr>
1300 </div><!-- contents -->
1301 <!-- start footer part -->
1302 <hr class="footer"/><address class="footer"><small>
1303 Generated on Fri Oct 30 2015 10:48:49 for libxml++ by  <a href="http://www.doxygen.org/index.html">
1304 <img class="footer" src="doxygen.png" alt="doxygen"/>