1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>libxml++: xmlpp::Node Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.4.6 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
14
<li><a href="dirs.html"><span>Directories</span></a></li>
18
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
19
<li><a href="annotated.html"><span>Class List</span></a></li>
20
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
21
<li><a href="functions.html"><span>Class Members</span></a></li>
24
<a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1Node.html">Node</a></div>
25
<h1>xmlpp::Node Class Reference</h1><!-- doxytag: class="xmlpp::Node" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->Represents XML Nodes.
26
<a href="#_details">More...</a>
28
Inheritance diagram for xmlpp::Node:<p><center><img src="classxmlpp_1_1Node__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1Node__inherit__map" alt="Inheritance graph"></center>
29
<map name="xmlpp_1_1Node__inherit__map">
30
<area href="classxmlpp_1_1Attribute.html" shape="rect" coords="138,158,253,182" alt="">
31
<area href="classxmlpp_1_1ContentNode.html" shape="rect" coords="277,158,421,182" alt="">
32
<area href="classxmlpp_1_1Element.html" shape="rect" coords="445,158,560,182" alt="">
33
<area href="classxmlpp_1_1EntityReference.html" shape="rect" coords="584,158,744,182" alt="">
34
<area href="classxmlpp_1_1NonCopyable.html" shape="rect" coords="352,9,498,33" alt="">
35
<area href="classxmlpp_1_1CdataNode.html" shape="rect" coords="8,233,141,257" alt="">
36
<area href="classxmlpp_1_1CommentNode.html" shape="rect" coords="165,233,320,257" alt="">
37
<area href="classxmlpp_1_1ProcessingInstructionNode.html" shape="rect" coords="344,233,570,257" alt="">
38
<area href="classxmlpp_1_1TextNode.html" shape="rect" coords="594,233,717,257" alt="">
40
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxmlpp_1_1Node-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
42
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.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#7b0205c6df142d060dfca9119fadff49">NodeList</a></td></tr>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1map.html">std::map</a>< <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>,<br>
46
<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a></td></tr>
48
<tr><td class="mdescLeft"> </td><td class="mdescRight">A map of namespace prefixes to namespace URIs. <a href="#0175dca099d30f45ebbfd6a238420426"></a><br></td></tr>
49
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#215d8c01b6b01596c4ea853f99dce8e7">Node</a> (_xmlNode *node)</td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#042c5de83dba6bf5d1923d76f1fb58c0">~Node</a> ()</td></tr>
54
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#d8cba86cb7f43dd512f5b6817ed47d9a">get_name</a> () const </td></tr>
56
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of this node. <a href="#d8cba86cb7f43dd512f5b6817ed47d9a"></a><br></td></tr>
57
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#b5e1b1059a2af0818b1a8937fad49835">set_name</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name)</td></tr>
59
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the name of this node. <a href="#b5e1b1059a2af0818b1a8937fad49835"></a><br></td></tr>
60
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#4ddefaaaf3f0b550e776e9100bc23257">set_namespace</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &ns_prefix)</td></tr>
62
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the namespace prefix used by the node If no such namespace prefix has been declared then this method will throw an exception. <a href="#4ddefaaaf3f0b550e776e9100bc23257"></a><br></td></tr>
63
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#06790680c79808f1a56ddea438a6df5c">get_namespace_prefix</a> () const </td></tr>
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#9356e5ee02dbc809f9bf139b12befc6c">get_namespace_uri</a> () const </td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#5e21f3a9996e25bd2df5ec8ce9906575">get_line</a> () const </td></tr>
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">Discover at what line number this node occurs in the XML file. <a href="#5e21f3a9996e25bd2df5ec8ce9906575"></a><br></td></tr>
70
<tr><td class="memItemLeft" nowrap 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#a8a68ac1887a33e44e3af365bd02db1b">get_parent</a> () const </td></tr>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the parent element for this node. <a href="#a8a68ac1887a33e44e3af365bd02db1b"></a><br></td></tr>
73
<tr><td class="memItemLeft" nowrap 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#998e8cb924bd04abf72e57b68d2817f4">get_parent</a> ()</td></tr>
75
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the parent element for this node. <a href="#998e8cb924bd04abf72e57b68d2817f4"></a><br></td></tr>
76
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">NodeList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#bb9d4d7aad234b9b01ae7fe404915a95">get_children</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name=<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
78
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the list of child nodes. <a href="#bb9d4d7aad234b9b01ae7fe404915a95"></a><br></td></tr>
79
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">NodeList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#2cb9f082c7bebc349c1f606e69788a57">get_children</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name=<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr>
81
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain the list of child nodes. <a href="#2cb9f082c7bebc349c1f606e69788a57"></a><br></td></tr>
82
<tr><td class="memItemLeft" nowrap 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#c56c54f8006cbfb545642cbf2e96bc4a">add_child</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &ns_prefix=<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
84
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add a child element to this node. <a href="#c56c54f8006cbfb545642cbf2e96bc4a"></a><br></td></tr>
85
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#00ccfb39d9b6d82b5acd5f458c8f8ca8">remove_child</a> (<a class="el" href="classxmlpp_1_1Node.html">Node</a> *node)</td></tr>
87
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove the child node. <a href="#00ccfb39d9b6d82b5acd5f458c8f8ca8"></a><br></td></tr>
88
<tr><td class="memItemLeft" nowrap 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#ea42eae72fa7901aa1fb8f5c0fd194ec">import_node</a> (const <a class="el" href="classxmlpp_1_1Node.html">Node</a> *node, <a class="el" href="classbool.html">bool</a> recursive=true)</td></tr>
90
<tr><td class="mdescLeft"> </td><td class="mdescRight">Import node(s) from another document under this node, without affecting the source node. <a href="#ea42eae72fa7901aa1fb8f5c0fd194ec"></a><br></td></tr>
91
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#d05b43e18a4600ada423b74a59efb541">get_path</a> () const </td></tr>
93
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the XPath of this node <dl compact><dt><b>Returns:</b></dt><dd>The XPath of the node. </dd></dl>
94
<a href="#d05b43e18a4600ada423b74a59efb541"></a><br></td></tr>
95
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1vector.html">NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#25e56c6ae44be0926d1efcc7e488d96f">find</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &xpath) const </td></tr>
97
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from a XPath expression. <a href="#25e56c6ae44be0926d1efcc7e488d96f"></a><br></td></tr>
98
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1vector.html">NodeSet</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#4bfbd6ed354524c960d6cd425c534c7c">find</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &xpath, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1map.html">PrefixNsMap</a> &namespaces) const </td></tr>
100
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find nodes from a XPath expression. <a href="#4bfbd6ed354524c960d6cd425c534c7c"></a><br></td></tr>
101
<tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#eede250f5cf6de5f55cb7bb94084ec7c">cobj</a> ()</td></tr>
103
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#eede250f5cf6de5f55cb7bb94084ec7c"></a><br></td></tr>
104
<tr><td class="memItemLeft" nowrap align="right" valign="top">const _xmlNode * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#831eea0dbe1e51a350a9b20a2da47fc9">cobj</a> () const </td></tr>
106
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#831eea0dbe1e51a350a9b20a2da47fc9"></a><br></td></tr>
108
<hr><a name="_details"></a><h2>Detailed Description</h2>
109
Represents XML Nodes.
111
You should never new or delete Nodes. The <a class="el" href="classxmlpp_1_1Parser.html">Parser</a> will create and manage them for you.
113
<hr><h2>Member Typedef Documentation</h2>
114
<a class="anchor" name="7b0205c6df142d060dfca9119fadff49"></a><!-- doxytag: member="xmlpp::Node::NodeList" ref="7b0205c6df142d060dfca9119fadff49" args="" --><p>
115
<table class="mdTable" cellpadding="2" cellspacing="0">
118
<table cellpadding="0" cellspacing="0" border="0">
120
<td class="md" nowrap valign="top">typedef <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">std::list</a><<a class="el" href="classxmlpp_1_1Node.html">Node</a>*> <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">xmlpp::Node::NodeList</a> </td>
126
<table cellspacing="5" cellpadding="0" border="0">
137
<a class="anchor" name="0175dca099d30f45ebbfd6a238420426"></a><!-- doxytag: member="xmlpp::Node::PrefixNsMap" ref="0175dca099d30f45ebbfd6a238420426" args="" --><p>
138
<table class="mdTable" cellpadding="2" cellspacing="0">
141
<table cellpadding="0" cellspacing="0" border="0">
143
<td class="md" nowrap valign="top">typedef <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1map.html">std::map</a><<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>, <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>> <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1map.html">xmlpp::Node::PrefixNsMap</a> </td>
149
<table cellspacing="5" cellpadding="0" border="0">
157
A map of namespace prefixes to namespace URIs.
162
<hr><h2>Constructor & Destructor Documentation</h2>
163
<a class="anchor" name="215d8c01b6b01596c4ea853f99dce8e7"></a><!-- doxytag: member="xmlpp::Node::Node" ref="215d8c01b6b01596c4ea853f99dce8e7" args="(_xmlNode *node)" --><p>
164
<table class="mdTable" cellpadding="2" cellspacing="0">
167
<table cellpadding="0" cellspacing="0" border="0">
169
<td class="md" nowrap valign="top">xmlpp::Node::Node </td>
170
<td class="md" valign="top">( </td>
171
<td class="md" nowrap valign="top">_xmlNode * </td>
172
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
173
<td class="md" valign="top"> ) </td>
174
<td class="md" nowrap><code> [explicit]</code></td>
180
<table cellspacing="5" cellpadding="0" border="0">
191
<a class="anchor" name="042c5de83dba6bf5d1923d76f1fb58c0"></a><!-- doxytag: member="xmlpp::Node::~Node" ref="042c5de83dba6bf5d1923d76f1fb58c0" args="()" --><p>
192
<table class="mdTable" cellpadding="2" cellspacing="0">
195
<table cellpadding="0" cellspacing="0" border="0">
197
<td class="md" nowrap valign="top">virtual xmlpp::Node::~Node </td>
198
<td class="md" valign="top">( </td>
199
<td class="mdname1" valign="top" nowrap> </td>
200
<td class="md" valign="top"> ) </td>
201
<td class="md" nowrap><code> [virtual]</code></td>
207
<table cellspacing="5" cellpadding="0" border="0">
218
<hr><h2>Member Function Documentation</h2>
219
<a class="anchor" name="c56c54f8006cbfb545642cbf2e96bc4a"></a><!-- doxytag: member="xmlpp::Node::add_child" ref="c56c54f8006cbfb545642cbf2e96bc4a" args="(const Glib::ustring &name, const Glib::ustring &ns_prefix=Glib::ustring())" --><p>
220
<table class="mdTable" cellpadding="2" cellspacing="0">
223
<table cellpadding="0" cellspacing="0" border="0">
225
<td class="md" nowrap valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::add_child </td>
226
<td class="md" valign="top">( </td>
227
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
228
<td class="mdname" nowrap> <em>name</em>, </td>
231
<td class="md" nowrap align="right"></td>
233
<td class="md" nowrap>const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
234
<td class="mdname" nowrap> <em>ns_prefix</em> = <code><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td>
238
<td class="md">) </td>
239
<td class="md" colspan="2"></td>
245
<table cellspacing="5" cellpadding="0" border="0">
253
Add a child element to this node.
255
<dl compact><dt><b>Parameters:</b></dt><dd>
256
<table border="0" cellspacing="2" cellpadding="0">
257
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The new node name </td></tr>
258
<tr><td valign="top"></td><td valign="top"><em>ns_prefix</em> </td><td>The namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
261
<dl compact><dt><b>Returns:</b></dt><dd>The newly-created element </dd></dl>
265
<a class="anchor" name="831eea0dbe1e51a350a9b20a2da47fc9"></a><!-- doxytag: member="xmlpp::Node::cobj" ref="831eea0dbe1e51a350a9b20a2da47fc9" args="() const " --><p>
266
<table class="mdTable" cellpadding="2" cellspacing="0">
269
<table cellpadding="0" cellspacing="0" border="0">
271
<td class="md" nowrap valign="top">const _xmlNode* xmlpp::Node::cobj </td>
272
<td class="md" valign="top">( </td>
273
<td class="mdname1" valign="top" nowrap> </td>
274
<td class="md" valign="top"> ) </td>
275
<td class="md" nowrap> const</td>
281
<table cellspacing="5" cellpadding="0" border="0">
289
Access the underlying libxml implementation.
293
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#9e6ae08227e9a81dcd18ef5cbf820dc0">xmlpp::Attribute</a>. </td>
296
<a class="anchor" name="eede250f5cf6de5f55cb7bb94084ec7c"></a><!-- doxytag: member="xmlpp::Node::cobj" ref="eede250f5cf6de5f55cb7bb94084ec7c" args="()" --><p>
297
<table class="mdTable" cellpadding="2" cellspacing="0">
300
<table cellpadding="0" cellspacing="0" border="0">
302
<td class="md" nowrap valign="top">_xmlNode* xmlpp::Node::cobj </td>
303
<td class="md" valign="top">( </td>
304
<td class="mdname1" valign="top" nowrap> </td>
305
<td class="md" valign="top"> ) </td>
306
<td class="md" nowrap></td>
312
<table cellspacing="5" cellpadding="0" border="0">
320
Access the underlying libxml implementation.
324
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#1bdce49b8e5f118373732b4a3e14b842">xmlpp::Attribute</a>. </td>
327
<a class="anchor" name="4bfbd6ed354524c960d6cd425c534c7c"></a><!-- doxytag: member="xmlpp::Node::find" ref="4bfbd6ed354524c960d6cd425c534c7c" args="(const Glib::ustring &xpath, const PrefixNsMap &namespaces) const " --><p>
328
<table class="mdTable" cellpadding="2" cellspacing="0">
331
<table cellpadding="0" cellspacing="0" border="0">
333
<td class="md" nowrap valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1vector.html">NodeSet</a> xmlpp::Node::find </td>
334
<td class="md" valign="top">( </td>
335
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
336
<td class="mdname" nowrap> <em>xpath</em>, </td>
339
<td class="md" nowrap align="right"></td>
341
<td class="md" nowrap>const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1map.html">PrefixNsMap</a> & </td>
342
<td class="mdname" nowrap> <em>namespaces</em></td>
346
<td class="md">) </td>
347
<td class="md" colspan="2"> const</td>
353
<table cellspacing="5" cellpadding="0" border="0">
361
Find nodes from a XPath expression.
363
<dl compact><dt><b>Parameters:</b></dt><dd>
364
<table border="0" cellspacing="2" cellpadding="0">
365
<tr><td valign="top"></td><td valign="top"><em>xpath</em> </td><td>The XPath of the nodes. </td></tr>
366
<tr><td valign="top"></td><td valign="top"><em>namespaces</em> </td><td>A map of namespace prefixes to namespace URIs to be used while finding. </td></tr>
372
<a class="anchor" name="25e56c6ae44be0926d1efcc7e488d96f"></a><!-- doxytag: member="xmlpp::Node::find" ref="25e56c6ae44be0926d1efcc7e488d96f" args="(const Glib::ustring &xpath) const " --><p>
373
<table class="mdTable" cellpadding="2" cellspacing="0">
376
<table cellpadding="0" cellspacing="0" border="0">
378
<td class="md" nowrap valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1vector.html">NodeSet</a> xmlpp::Node::find </td>
379
<td class="md" valign="top">( </td>
380
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
381
<td class="mdname1" valign="top" nowrap> <em>xpath</em> </td>
382
<td class="md" valign="top"> ) </td>
383
<td class="md" nowrap> const</td>
389
<table cellspacing="5" cellpadding="0" border="0">
397
Find nodes from a XPath expression.
399
<dl compact><dt><b>Parameters:</b></dt><dd>
400
<table border="0" cellspacing="2" cellpadding="0">
401
<tr><td valign="top"></td><td valign="top"><em>xpath</em> </td><td>The XPath of the nodes. </td></tr>
407
<a class="anchor" name="2cb9f082c7bebc349c1f606e69788a57"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="2cb9f082c7bebc349c1f606e69788a57" args="(const Glib::ustring &name=Glib::ustring()) const " --><p>
408
<table class="mdTable" cellpadding="2" cellspacing="0">
411
<table cellpadding="0" cellspacing="0" border="0">
413
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">NodeList</a> xmlpp::Node::get_children </td>
414
<td class="md" valign="top">( </td>
415
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
416
<td class="mdname1" valign="top" nowrap> <em>name</em> = <code><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code> </td>
417
<td class="md" valign="top"> ) </td>
418
<td class="md" nowrap> const</td>
424
<table cellspacing="5" cellpadding="0" border="0">
432
Obtain the list of child nodes.
434
You may optionally obtain a list of only the child nodes which have a certain name. <dl compact><dt><b>Parameters:</b></dt><dd>
435
<table border="0" cellspacing="2" cellpadding="0">
436
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The names of the child nodes to get. If you do not specigy a name, then the list will contain all nodes, regardless of their names. </td></tr>
439
<dl compact><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>
443
<a class="anchor" name="bb9d4d7aad234b9b01ae7fe404915a95"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="bb9d4d7aad234b9b01ae7fe404915a95" args="(const Glib::ustring &name=Glib::ustring())" --><p>
444
<table class="mdTable" cellpadding="2" cellspacing="0">
447
<table cellpadding="0" cellspacing="0" border="0">
449
<td class="md" nowrap valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1list.html">NodeList</a> xmlpp::Node::get_children </td>
450
<td class="md" valign="top">( </td>
451
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
452
<td class="mdname1" valign="top" nowrap> <em>name</em> = <code><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code> </td>
453
<td class="md" valign="top"> ) </td>
454
<td class="md" nowrap></td>
460
<table cellspacing="5" cellpadding="0" border="0">
468
Obtain the list of child nodes.
470
You may optionally obtain a list of only the child nodes which have a certain name. <dl compact><dt><b>Parameters:</b></dt><dd>
471
<table border="0" cellspacing="2" cellpadding="0">
472
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The names of the child nodes to get. If you do not specigy a name, then the list will contain all nodes, regardless of their names. </td></tr>
475
<dl compact><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>
479
<a class="anchor" name="5e21f3a9996e25bd2df5ec8ce9906575"></a><!-- doxytag: member="xmlpp::Node::get_line" ref="5e21f3a9996e25bd2df5ec8ce9906575" args="() const " --><p>
480
<table class="mdTable" cellpadding="2" cellspacing="0">
483
<table cellpadding="0" cellspacing="0" border="0">
485
<td class="md" nowrap valign="top">int xmlpp::Node::get_line </td>
486
<td class="md" valign="top">( </td>
487
<td class="mdname1" valign="top" nowrap> </td>
488
<td class="md" valign="top"> ) </td>
489
<td class="md" nowrap> const</td>
495
<table cellspacing="5" cellpadding="0" border="0">
503
Discover at what line number this node occurs in the XML file.
505
<dl compact><dt><b>Returns:</b></dt><dd>The line number. </dd></dl>
509
<a class="anchor" name="d8cba86cb7f43dd512f5b6817ed47d9a"></a><!-- doxytag: member="xmlpp::Node::get_name" ref="d8cba86cb7f43dd512f5b6817ed47d9a" args="() const " --><p>
510
<table class="mdTable" cellpadding="2" cellspacing="0">
513
<table cellpadding="0" cellspacing="0" border="0">
515
<td class="md" nowrap valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_name </td>
516
<td class="md" valign="top">( </td>
517
<td class="mdname1" valign="top" nowrap> </td>
518
<td class="md" valign="top"> ) </td>
519
<td class="md" nowrap> const</td>
525
<table cellspacing="5" cellpadding="0" border="0">
533
Get the name of this node.
535
<dl compact><dt><b>Returns:</b></dt><dd>The node's name. </dd></dl>
538
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#553e7a694039b23150c27bfc05af2d60">xmlpp::Attribute</a>. </td>
541
<a class="anchor" name="06790680c79808f1a56ddea438a6df5c"></a><!-- doxytag: member="xmlpp::Node::get_namespace_prefix" ref="06790680c79808f1a56ddea438a6df5c" args="() const " --><p>
542
<table class="mdTable" cellpadding="2" cellspacing="0">
545
<table cellpadding="0" cellspacing="0" border="0">
547
<td class="md" nowrap valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_prefix </td>
548
<td class="md" valign="top">( </td>
549
<td class="mdname1" valign="top" nowrap> </td>
550
<td class="md" valign="top"> ) </td>
551
<td class="md" nowrap> const</td>
557
<table cellspacing="5" cellpadding="0" border="0">
568
<a class="anchor" name="9356e5ee02dbc809f9bf139b12befc6c"></a><!-- doxytag: member="xmlpp::Node::get_namespace_uri" ref="9356e5ee02dbc809f9bf139b12befc6c" args="() const " --><p>
569
<table class="mdTable" cellpadding="2" cellspacing="0">
572
<table cellpadding="0" cellspacing="0" border="0">
574
<td class="md" nowrap valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_uri </td>
575
<td class="md" valign="top">( </td>
576
<td class="mdname1" valign="top" nowrap> </td>
577
<td class="md" valign="top"> ) </td>
578
<td class="md" nowrap> const</td>
584
<table cellspacing="5" cellpadding="0" border="0">
595
<a class="anchor" name="998e8cb924bd04abf72e57b68d2817f4"></a><!-- doxytag: member="xmlpp::Node::get_parent" ref="998e8cb924bd04abf72e57b68d2817f4" args="()" --><p>
596
<table class="mdTable" cellpadding="2" cellspacing="0">
599
<table cellpadding="0" cellspacing="0" border="0">
601
<td class="md" nowrap valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
602
<td class="md" valign="top">( </td>
603
<td class="mdname1" valign="top" nowrap> </td>
604
<td class="md" valign="top"> ) </td>
605
<td class="md" nowrap></td>
611
<table cellspacing="5" cellpadding="0" border="0">
619
Get the parent element for this node.
621
<dl compact><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>
625
<a class="anchor" name="a8a68ac1887a33e44e3af365bd02db1b"></a><!-- doxytag: member="xmlpp::Node::get_parent" ref="a8a68ac1887a33e44e3af365bd02db1b" args="() const " --><p>
626
<table class="mdTable" cellpadding="2" cellspacing="0">
629
<table cellpadding="0" cellspacing="0" border="0">
631
<td class="md" nowrap valign="top">const <a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
632
<td class="md" valign="top">( </td>
633
<td class="mdname1" valign="top" nowrap> </td>
634
<td class="md" valign="top"> ) </td>
635
<td class="md" nowrap> const</td>
641
<table cellspacing="5" cellpadding="0" border="0">
649
Get the parent element for this node.
651
<dl compact><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>
655
<a class="anchor" name="d05b43e18a4600ada423b74a59efb541"></a><!-- doxytag: member="xmlpp::Node::get_path" ref="d05b43e18a4600ada423b74a59efb541" args="() const " --><p>
656
<table class="mdTable" cellpadding="2" cellspacing="0">
659
<table cellpadding="0" cellspacing="0" border="0">
661
<td class="md" nowrap valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_path </td>
662
<td class="md" valign="top">( </td>
663
<td class="mdname1" valign="top" nowrap> </td>
664
<td class="md" valign="top"> ) </td>
665
<td class="md" nowrap> const</td>
671
<table cellspacing="5" cellpadding="0" border="0">
679
Return the XPath of this node <dl compact><dt><b>Returns:</b></dt><dd>The XPath of the node. </dd></dl>
685
<a class="anchor" name="ea42eae72fa7901aa1fb8f5c0fd194ec"></a><!-- doxytag: member="xmlpp::Node::import_node" ref="ea42eae72fa7901aa1fb8f5c0fd194ec" args="(const Node *node, bool recursive=true)" --><p>
686
<table class="mdTable" cellpadding="2" cellspacing="0">
689
<table cellpadding="0" cellspacing="0" border="0">
691
<td class="md" nowrap valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::import_node </td>
692
<td class="md" valign="top">( </td>
693
<td class="md" nowrap valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a> * </td>
694
<td class="mdname" nowrap> <em>node</em>, </td>
697
<td class="md" nowrap align="right"></td>
699
<td class="md" nowrap><a class="el" href="classbool.html">bool</a> </td>
700
<td class="mdname" nowrap> <em>recursive</em> = <code>true</code></td>
704
<td class="md">) </td>
705
<td class="md" colspan="2"></td>
711
<table cellspacing="5" cellpadding="0" border="0">
719
Import node(s) from another document under this node, without affecting the source node.
721
<dl compact><dt><b>Parameters:</b></dt><dd>
722
<table border="0" cellspacing="2" cellpadding="0">
723
<tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The node to copy and insert under the current node. </td></tr>
724
<tr><td valign="top"></td><td valign="top"><em>recursive</em> </td><td>Whether to import the child nodes also. Defaults to true. </td></tr>
727
<dl compact><dt><b>Returns:</b></dt><dd>The newly-created node. </dd></dl>
731
<a class="anchor" name="00ccfb39d9b6d82b5acd5f458c8f8ca8"></a><!-- doxytag: member="xmlpp::Node::remove_child" ref="00ccfb39d9b6d82b5acd5f458c8f8ca8" args="(Node *node)" --><p>
732
<table class="mdTable" cellpadding="2" cellspacing="0">
735
<table cellpadding="0" cellspacing="0" border="0">
737
<td class="md" nowrap valign="top">void xmlpp::Node::remove_child </td>
738
<td class="md" valign="top">( </td>
739
<td class="md" nowrap valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a> * </td>
740
<td class="mdname1" valign="top" nowrap> <em>node</em> </td>
741
<td class="md" valign="top"> ) </td>
742
<td class="md" nowrap></td>
748
<table cellspacing="5" cellpadding="0" border="0">
756
Remove the child node.
758
<dl compact><dt><b>Parameters:</b></dt><dd>
759
<table border="0" cellspacing="2" cellpadding="0">
760
<tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The child node to remove. This <a class="el" href="classxmlpp_1_1Node.html">Node</a> will be deleted and therefore unusable after calling this method. </td></tr>
766
<a class="anchor" name="b5e1b1059a2af0818b1a8937fad49835"></a><!-- doxytag: member="xmlpp::Node::set_name" ref="b5e1b1059a2af0818b1a8937fad49835" args="(const Glib::ustring &name)" --><p>
767
<table class="mdTable" cellpadding="2" cellspacing="0">
770
<table cellpadding="0" cellspacing="0" border="0">
772
<td class="md" nowrap valign="top">void xmlpp::Node::set_name </td>
773
<td class="md" valign="top">( </td>
774
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
775
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
776
<td class="md" valign="top"> ) </td>
777
<td class="md" nowrap></td>
783
<table cellspacing="5" cellpadding="0" border="0">
791
Set the name of this node.
793
<dl compact><dt><b>Parameters:</b></dt><dd>
794
<table border="0" cellspacing="2" cellpadding="0">
795
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The new name for the node. </td></tr>
801
<a class="anchor" name="4ddefaaaf3f0b550e776e9100bc23257"></a><!-- doxytag: member="xmlpp::Node::set_namespace" ref="4ddefaaaf3f0b550e776e9100bc23257" args="(const Glib::ustring &ns_prefix)" --><p>
802
<table class="mdTable" cellpadding="2" cellspacing="0">
805
<table cellpadding="0" cellspacing="0" border="0">
807
<td class="md" nowrap valign="top">void xmlpp::Node::set_namespace </td>
808
<td class="md" valign="top">( </td>
809
<td class="md" nowrap valign="top">const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
810
<td class="mdname1" valign="top" nowrap> <em>ns_prefix</em> </td>
811
<td class="md" valign="top"> ) </td>
812
<td class="md" nowrap></td>
818
<table cellspacing="5" cellpadding="0" border="0">
826
Set the namespace prefix used by the node If no such namespace prefix has been declared then this method will throw an exception.
828
<dl compact><dt><b>Parameters:</b></dt><dd>
829
<table border="0" cellspacing="2" cellpadding="0">
830
<tr><td valign="top"></td><td valign="top"><em>ns_prefix</em> </td><td>The namespace prefix. </td></tr>
836
<hr>The documentation for this class was generated from the following file:<ul>
837
<li><a class="el" href="node_8h.html">node.h</a></ul>
838
<hr size="1"><address style="align: right;"><small>Generated on Fri Nov 17 09:08:24 2006 for libxml++ by
839
<a href="http://www.doxygen.org/index.html">
840
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>