~ubuntu-branches/ubuntu/feisty/libxml++2.6/feisty

« back to all changes in this revision

Viewing changes to docs/reference/2.17/html/classxmlpp_1_1Node.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-11-17 14:53:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061117145351-2a403c6h54pzia5l
Tags: 2.17.1-0ubuntu1
* New upstream release: 
  - Node: Added get_parent()
  - TextReader: Added TextReader(const char* data) constructor, for parsing 
    memory buffers.
  - Element::set_attribute(): Really return the new attribute.
  - Build: Added MS Visual Studio 2005 project files.
* debian/control:
  - remove duplicate doxygen build-dep.
* debian/rules, debian/libxml++2.6-doc.docs:
  - 2.14 -> 2.17.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.4.6 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;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>
 
15
  </ul></div>
 
16
<div class="tabs">
 
17
  <ul>
 
18
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
19
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
20
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
21
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
22
  </ul></div>
 
23
<div class="nav">
 
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>
 
27
<p>
 
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="">
 
39
</map>
 
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">
 
41
<tr><td></td></tr>
 
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>&lt; <a class="el" href="classxmlpp_1_1Node.html">Node</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#7b0205c6df142d060dfca9119fadff49">NodeList</a></td></tr>
 
44
 
 
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>&lt; <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> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a></td></tr>
 
47
 
 
48
<tr><td class="mdescLeft">&nbsp;</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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#215d8c01b6b01596c4ea853f99dce8e7">Node</a> (_xmlNode *node)</td></tr>
 
51
 
 
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#042c5de83dba6bf5d1923d76f1fb58c0">~Node</a> ()</td></tr>
 
53
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#d8cba86cb7f43dd512f5b6817ed47d9a">get_name</a> () const </td></tr>
 
55
 
 
56
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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> &amp;name)</td></tr>
 
58
 
 
59
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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> &amp;ns_prefix)</td></tr>
 
61
 
 
62
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#06790680c79808f1a56ddea438a6df5c">get_namespace_prefix</a> () const </td></tr>
 
64
 
 
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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#9356e5ee02dbc809f9bf139b12befc6c">get_namespace_uri</a> () const </td></tr>
 
66
 
 
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#5e21f3a9996e25bd2df5ec8ce9906575">get_line</a> () const </td></tr>
 
68
 
 
69
<tr><td class="mdescLeft">&nbsp;</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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a8a68ac1887a33e44e3af365bd02db1b">get_parent</a> () const </td></tr>
 
71
 
 
72
<tr><td class="mdescLeft">&nbsp;</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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#998e8cb924bd04abf72e57b68d2817f4">get_parent</a> ()</td></tr>
 
74
 
 
75
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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> &amp;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>
 
77
 
 
78
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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> &amp;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>
 
80
 
 
81
<tr><td class="mdescLeft">&nbsp;</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> *&nbsp;</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> &amp;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> &amp;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>
 
83
 
 
84
<tr><td class="mdescLeft">&nbsp;</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&nbsp;</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>
 
86
 
 
87
<tr><td class="mdescLeft">&nbsp;</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> *&nbsp;</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>
 
89
 
 
90
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#d05b43e18a4600ada423b74a59efb541">get_path</a> () const </td></tr>
 
92
 
 
93
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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> &amp;xpath) const </td></tr>
 
96
 
 
97
<tr><td class="mdescLeft">&nbsp;</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>&nbsp;</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> &amp;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> &amp;namespaces) const </td></tr>
 
99
 
 
100
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#eede250f5cf6de5f55cb7bb94084ec7c">cobj</a> ()</td></tr>
 
102
 
 
103
<tr><td class="mdescLeft">&nbsp;</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 *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#831eea0dbe1e51a350a9b20a2da47fc9">cobj</a> () const </td></tr>
 
105
 
 
106
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Access the underlying libxml implementation.  <a href="#831eea0dbe1e51a350a9b20a2da47fc9"></a><br></td></tr>
 
107
</table>
 
108
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
109
Represents XML Nodes. 
 
110
<p>
 
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. 
 
112
<p>
 
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">
 
116
  <tr>
 
117
    <td class="mdRow">
 
118
      <table cellpadding="0" cellspacing="0" border="0">
 
119
        <tr>
 
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>&lt;<a class="el" href="classxmlpp_1_1Node.html">Node</a>*&gt; <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>
 
121
        </tr>
 
122
      </table>
 
123
    </td>
 
124
  </tr>
 
125
</table>
 
126
<table cellspacing="5" cellpadding="0" border="0">
 
127
  <tr>
 
128
    <td>
 
129
      &nbsp;
 
130
    </td>
 
131
    <td>
 
132
 
 
133
<p>
 
134
    </td>
 
135
  </tr>
 
136
</table>
 
137
<a class="anchor" name="0175dca099d30f45ebbfd6a238420426"></a><!-- doxytag: member="xmlpp::Node::PrefixNsMap" ref="0175dca099d30f45ebbfd6a238420426" args="" --><p>
 
138
<table class="mdTable" cellpadding="2" cellspacing="0">
 
139
  <tr>
 
140
    <td class="mdRow">
 
141
      <table cellpadding="0" cellspacing="0" border="0">
 
142
        <tr>
 
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>&lt;<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>&gt; <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>
 
144
        </tr>
 
145
      </table>
 
146
    </td>
 
147
  </tr>
 
148
</table>
 
149
<table cellspacing="5" cellpadding="0" border="0">
 
150
  <tr>
 
151
    <td>
 
152
      &nbsp;
 
153
    </td>
 
154
    <td>
 
155
 
 
156
<p>
 
157
A map of namespace prefixes to namespace URIs. 
 
158
<p>
 
159
    </td>
 
160
  </tr>
 
161
</table>
 
162
<hr><h2>Constructor &amp; 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">
 
165
  <tr>
 
166
    <td class="mdRow">
 
167
      <table cellpadding="0" cellspacing="0" border="0">
 
168
        <tr>
 
169
          <td class="md" nowrap valign="top">xmlpp::Node::Node           </td>
 
170
          <td class="md" valign="top">(&nbsp;</td>
 
171
          <td class="md" nowrap valign="top">_xmlNode *&nbsp;</td>
 
172
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
 
173
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
174
          <td class="md" nowrap><code> [explicit]</code></td>
 
175
        </tr>
 
176
      </table>
 
177
    </td>
 
178
  </tr>
 
179
</table>
 
180
<table cellspacing="5" cellpadding="0" border="0">
 
181
  <tr>
 
182
    <td>
 
183
      &nbsp;
 
184
    </td>
 
185
    <td>
 
186
 
 
187
<p>
 
188
    </td>
 
189
  </tr>
 
190
</table>
 
191
<a class="anchor" name="042c5de83dba6bf5d1923d76f1fb58c0"></a><!-- doxytag: member="xmlpp::Node::~Node" ref="042c5de83dba6bf5d1923d76f1fb58c0" args="()" --><p>
 
192
<table class="mdTable" cellpadding="2" cellspacing="0">
 
193
  <tr>
 
194
    <td class="mdRow">
 
195
      <table cellpadding="0" cellspacing="0" border="0">
 
196
        <tr>
 
197
          <td class="md" nowrap valign="top">virtual xmlpp::Node::~Node           </td>
 
198
          <td class="md" valign="top">(&nbsp;</td>
 
199
          <td class="mdname1" valign="top" nowrap>          </td>
 
200
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
201
          <td class="md" nowrap><code> [virtual]</code></td>
 
202
        </tr>
 
203
      </table>
 
204
    </td>
 
205
  </tr>
 
206
</table>
 
207
<table cellspacing="5" cellpadding="0" border="0">
 
208
  <tr>
 
209
    <td>
 
210
      &nbsp;
 
211
    </td>
 
212
    <td>
 
213
 
 
214
<p>
 
215
    </td>
 
216
  </tr>
 
217
</table>
 
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 &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring())" --><p>
 
220
<table class="mdTable" cellpadding="2" cellspacing="0">
 
221
  <tr>
 
222
    <td class="mdRow">
 
223
      <table cellpadding="0" cellspacing="0" border="0">
 
224
        <tr>
 
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">(&nbsp;</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> &amp;&nbsp;</td>
 
228
          <td class="mdname" nowrap> <em>name</em>, </td>
 
229
        </tr>
 
230
        <tr>
 
231
          <td class="md" nowrap align="right"></td>
 
232
          <td class="md"></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> &amp;&nbsp;</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>
 
235
        </tr>
 
236
        <tr>
 
237
          <td class="md"></td>
 
238
          <td class="md">)&nbsp;</td>
 
239
          <td class="md" colspan="2"></td>
 
240
        </tr>
 
241
      </table>
 
242
    </td>
 
243
  </tr>
 
244
</table>
 
245
<table cellspacing="5" cellpadding="0" border="0">
 
246
  <tr>
 
247
    <td>
 
248
      &nbsp;
 
249
    </td>
 
250
    <td>
 
251
 
 
252
<p>
 
253
Add a child element to this node. 
 
254
<p>
 
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>&nbsp;</td><td>The new node name </td></tr>
 
258
    <tr><td valign="top"></td><td valign="top"><em>ns_prefix</em>&nbsp;</td><td>The namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
 
259
  </table>
 
260
</dl>
 
261
<dl compact><dt><b>Returns:</b></dt><dd>The newly-created element </dd></dl>
 
262
    </td>
 
263
  </tr>
 
264
</table>
 
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">
 
267
  <tr>
 
268
    <td class="mdRow">
 
269
      <table cellpadding="0" cellspacing="0" border="0">
 
270
        <tr>
 
271
          <td class="md" nowrap valign="top">const _xmlNode* xmlpp::Node::cobj           </td>
 
272
          <td class="md" valign="top">(&nbsp;</td>
 
273
          <td class="mdname1" valign="top" nowrap>          </td>
 
274
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
275
          <td class="md" nowrap> const</td>
 
276
        </tr>
 
277
      </table>
 
278
    </td>
 
279
  </tr>
 
280
</table>
 
281
<table cellspacing="5" cellpadding="0" border="0">
 
282
  <tr>
 
283
    <td>
 
284
      &nbsp;
 
285
    </td>
 
286
    <td>
 
287
 
 
288
<p>
 
289
Access the underlying libxml implementation. 
 
290
<p>
 
291
 
 
292
<p>
 
293
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#9e6ae08227e9a81dcd18ef5cbf820dc0">xmlpp::Attribute</a>.    </td>
 
294
  </tr>
 
295
</table>
 
296
<a class="anchor" name="eede250f5cf6de5f55cb7bb94084ec7c"></a><!-- doxytag: member="xmlpp::Node::cobj" ref="eede250f5cf6de5f55cb7bb94084ec7c" args="()" --><p>
 
297
<table class="mdTable" cellpadding="2" cellspacing="0">
 
298
  <tr>
 
299
    <td class="mdRow">
 
300
      <table cellpadding="0" cellspacing="0" border="0">
 
301
        <tr>
 
302
          <td class="md" nowrap valign="top">_xmlNode* xmlpp::Node::cobj           </td>
 
303
          <td class="md" valign="top">(&nbsp;</td>
 
304
          <td class="mdname1" valign="top" nowrap>          </td>
 
305
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
306
          <td class="md" nowrap></td>
 
307
        </tr>
 
308
      </table>
 
309
    </td>
 
310
  </tr>
 
311
</table>
 
312
<table cellspacing="5" cellpadding="0" border="0">
 
313
  <tr>
 
314
    <td>
 
315
      &nbsp;
 
316
    </td>
 
317
    <td>
 
318
 
 
319
<p>
 
320
Access the underlying libxml implementation. 
 
321
<p>
 
322
 
 
323
<p>
 
324
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#1bdce49b8e5f118373732b4a3e14b842">xmlpp::Attribute</a>.    </td>
 
325
  </tr>
 
326
</table>
 
327
<a class="anchor" name="4bfbd6ed354524c960d6cd425c534c7c"></a><!-- doxytag: member="xmlpp::Node::find" ref="4bfbd6ed354524c960d6cd425c534c7c" args="(const Glib::ustring &amp;xpath, const PrefixNsMap &amp;namespaces) const " --><p>
 
328
<table class="mdTable" cellpadding="2" cellspacing="0">
 
329
  <tr>
 
330
    <td class="mdRow">
 
331
      <table cellpadding="0" cellspacing="0" border="0">
 
332
        <tr>
 
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">(&nbsp;</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> &amp;&nbsp;</td>
 
336
          <td class="mdname" nowrap> <em>xpath</em>, </td>
 
337
        </tr>
 
338
        <tr>
 
339
          <td class="md" nowrap align="right"></td>
 
340
          <td class="md"></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> &amp;&nbsp;</td>
 
342
          <td class="mdname" nowrap> <em>namespaces</em></td>
 
343
        </tr>
 
344
        <tr>
 
345
          <td class="md"></td>
 
346
          <td class="md">)&nbsp;</td>
 
347
          <td class="md" colspan="2"> const</td>
 
348
        </tr>
 
349
      </table>
 
350
    </td>
 
351
  </tr>
 
352
</table>
 
353
<table cellspacing="5" cellpadding="0" border="0">
 
354
  <tr>
 
355
    <td>
 
356
      &nbsp;
 
357
    </td>
 
358
    <td>
 
359
 
 
360
<p>
 
361
Find nodes from a XPath expression. 
 
362
<p>
 
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>&nbsp;</td><td>The XPath of the nodes. </td></tr>
 
366
    <tr><td valign="top"></td><td valign="top"><em>namespaces</em>&nbsp;</td><td>A map of namespace prefixes to namespace URIs to be used while finding. </td></tr>
 
367
  </table>
 
368
</dl>
 
369
    </td>
 
370
  </tr>
 
371
</table>
 
372
<a class="anchor" name="25e56c6ae44be0926d1efcc7e488d96f"></a><!-- doxytag: member="xmlpp::Node::find" ref="25e56c6ae44be0926d1efcc7e488d96f" args="(const Glib::ustring &amp;xpath) const " --><p>
 
373
<table class="mdTable" cellpadding="2" cellspacing="0">
 
374
  <tr>
 
375
    <td class="mdRow">
 
376
      <table cellpadding="0" cellspacing="0" border="0">
 
377
        <tr>
 
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">(&nbsp;</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> &amp;&nbsp;</td>
 
381
          <td class="mdname1" valign="top" nowrap> <em>xpath</em>          </td>
 
382
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
383
          <td class="md" nowrap> const</td>
 
384
        </tr>
 
385
      </table>
 
386
    </td>
 
387
  </tr>
 
388
</table>
 
389
<table cellspacing="5" cellpadding="0" border="0">
 
390
  <tr>
 
391
    <td>
 
392
      &nbsp;
 
393
    </td>
 
394
    <td>
 
395
 
 
396
<p>
 
397
Find nodes from a XPath expression. 
 
398
<p>
 
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>&nbsp;</td><td>The XPath of the nodes. </td></tr>
 
402
  </table>
 
403
</dl>
 
404
    </td>
 
405
  </tr>
 
406
</table>
 
407
<a class="anchor" name="2cb9f082c7bebc349c1f606e69788a57"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="2cb9f082c7bebc349c1f606e69788a57" args="(const Glib::ustring &amp;name=Glib::ustring()) const " --><p>
 
408
<table class="mdTable" cellpadding="2" cellspacing="0">
 
409
  <tr>
 
410
    <td class="mdRow">
 
411
      <table cellpadding="0" cellspacing="0" border="0">
 
412
        <tr>
 
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">(&nbsp;</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> &amp;&nbsp;</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">&nbsp;)&nbsp;</td>
 
418
          <td class="md" nowrap> const</td>
 
419
        </tr>
 
420
      </table>
 
421
    </td>
 
422
  </tr>
 
423
</table>
 
424
<table cellspacing="5" cellpadding="0" border="0">
 
425
  <tr>
 
426
    <td>
 
427
      &nbsp;
 
428
    </td>
 
429
    <td>
 
430
 
 
431
<p>
 
432
Obtain the list of child nodes. 
 
433
<p>
 
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>&nbsp;</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>
 
437
  </table>
 
438
</dl>
 
439
<dl compact><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>
 
440
    </td>
 
441
  </tr>
 
442
</table>
 
443
<a class="anchor" name="bb9d4d7aad234b9b01ae7fe404915a95"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="bb9d4d7aad234b9b01ae7fe404915a95" args="(const Glib::ustring &amp;name=Glib::ustring())" --><p>
 
444
<table class="mdTable" cellpadding="2" cellspacing="0">
 
445
  <tr>
 
446
    <td class="mdRow">
 
447
      <table cellpadding="0" cellspacing="0" border="0">
 
448
        <tr>
 
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">(&nbsp;</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> &amp;&nbsp;</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">&nbsp;)&nbsp;</td>
 
454
          <td class="md" nowrap></td>
 
455
        </tr>
 
456
      </table>
 
457
    </td>
 
458
  </tr>
 
459
</table>
 
460
<table cellspacing="5" cellpadding="0" border="0">
 
461
  <tr>
 
462
    <td>
 
463
      &nbsp;
 
464
    </td>
 
465
    <td>
 
466
 
 
467
<p>
 
468
Obtain the list of child nodes. 
 
469
<p>
 
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>&nbsp;</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>
 
473
  </table>
 
474
</dl>
 
475
<dl compact><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>
 
476
    </td>
 
477
  </tr>
 
478
</table>
 
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">
 
481
  <tr>
 
482
    <td class="mdRow">
 
483
      <table cellpadding="0" cellspacing="0" border="0">
 
484
        <tr>
 
485
          <td class="md" nowrap valign="top">int xmlpp::Node::get_line           </td>
 
486
          <td class="md" valign="top">(&nbsp;</td>
 
487
          <td class="mdname1" valign="top" nowrap>          </td>
 
488
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
489
          <td class="md" nowrap> const</td>
 
490
        </tr>
 
491
      </table>
 
492
    </td>
 
493
  </tr>
 
494
</table>
 
495
<table cellspacing="5" cellpadding="0" border="0">
 
496
  <tr>
 
497
    <td>
 
498
      &nbsp;
 
499
    </td>
 
500
    <td>
 
501
 
 
502
<p>
 
503
Discover at what line number this node occurs in the XML file. 
 
504
<p>
 
505
<dl compact><dt><b>Returns:</b></dt><dd>The line number. </dd></dl>
 
506
    </td>
 
507
  </tr>
 
508
</table>
 
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">
 
511
  <tr>
 
512
    <td class="mdRow">
 
513
      <table cellpadding="0" cellspacing="0" border="0">
 
514
        <tr>
 
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">(&nbsp;</td>
 
517
          <td class="mdname1" valign="top" nowrap>          </td>
 
518
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
519
          <td class="md" nowrap> const</td>
 
520
        </tr>
 
521
      </table>
 
522
    </td>
 
523
  </tr>
 
524
</table>
 
525
<table cellspacing="5" cellpadding="0" border="0">
 
526
  <tr>
 
527
    <td>
 
528
      &nbsp;
 
529
    </td>
 
530
    <td>
 
531
 
 
532
<p>
 
533
Get the name of this node. 
 
534
<p>
 
535
<dl compact><dt><b>Returns:</b></dt><dd>The node's name. </dd></dl>
 
536
 
 
537
<p>
 
538
Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#553e7a694039b23150c27bfc05af2d60">xmlpp::Attribute</a>.    </td>
 
539
  </tr>
 
540
</table>
 
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">
 
543
  <tr>
 
544
    <td class="mdRow">
 
545
      <table cellpadding="0" cellspacing="0" border="0">
 
546
        <tr>
 
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">(&nbsp;</td>
 
549
          <td class="mdname1" valign="top" nowrap>          </td>
 
550
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
551
          <td class="md" nowrap> const</td>
 
552
        </tr>
 
553
      </table>
 
554
    </td>
 
555
  </tr>
 
556
</table>
 
557
<table cellspacing="5" cellpadding="0" border="0">
 
558
  <tr>
 
559
    <td>
 
560
      &nbsp;
 
561
    </td>
 
562
    <td>
 
563
 
 
564
<p>
 
565
    </td>
 
566
  </tr>
 
567
</table>
 
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">
 
570
  <tr>
 
571
    <td class="mdRow">
 
572
      <table cellpadding="0" cellspacing="0" border="0">
 
573
        <tr>
 
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">(&nbsp;</td>
 
576
          <td class="mdname1" valign="top" nowrap>          </td>
 
577
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
578
          <td class="md" nowrap> const</td>
 
579
        </tr>
 
580
      </table>
 
581
    </td>
 
582
  </tr>
 
583
</table>
 
584
<table cellspacing="5" cellpadding="0" border="0">
 
585
  <tr>
 
586
    <td>
 
587
      &nbsp;
 
588
    </td>
 
589
    <td>
 
590
 
 
591
<p>
 
592
    </td>
 
593
  </tr>
 
594
</table>
 
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">
 
597
  <tr>
 
598
    <td class="mdRow">
 
599
      <table cellpadding="0" cellspacing="0" border="0">
 
600
        <tr>
 
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">(&nbsp;</td>
 
603
          <td class="mdname1" valign="top" nowrap>          </td>
 
604
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
605
          <td class="md" nowrap></td>
 
606
        </tr>
 
607
      </table>
 
608
    </td>
 
609
  </tr>
 
610
</table>
 
611
<table cellspacing="5" cellpadding="0" border="0">
 
612
  <tr>
 
613
    <td>
 
614
      &nbsp;
 
615
    </td>
 
616
    <td>
 
617
 
 
618
<p>
 
619
Get the parent element for this node. 
 
620
<p>
 
621
<dl compact><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>
 
622
    </td>
 
623
  </tr>
 
624
</table>
 
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">
 
627
  <tr>
 
628
    <td class="mdRow">
 
629
      <table cellpadding="0" cellspacing="0" border="0">
 
630
        <tr>
 
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">(&nbsp;</td>
 
633
          <td class="mdname1" valign="top" nowrap>          </td>
 
634
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
635
          <td class="md" nowrap> const</td>
 
636
        </tr>
 
637
      </table>
 
638
    </td>
 
639
  </tr>
 
640
</table>
 
641
<table cellspacing="5" cellpadding="0" border="0">
 
642
  <tr>
 
643
    <td>
 
644
      &nbsp;
 
645
    </td>
 
646
    <td>
 
647
 
 
648
<p>
 
649
Get the parent element for this node. 
 
650
<p>
 
651
<dl compact><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>
 
652
    </td>
 
653
  </tr>
 
654
</table>
 
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">
 
657
  <tr>
 
658
    <td class="mdRow">
 
659
      <table cellpadding="0" cellspacing="0" border="0">
 
660
        <tr>
 
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">(&nbsp;</td>
 
663
          <td class="mdname1" valign="top" nowrap>          </td>
 
664
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
665
          <td class="md" nowrap> const</td>
 
666
        </tr>
 
667
      </table>
 
668
    </td>
 
669
  </tr>
 
670
</table>
 
671
<table cellspacing="5" cellpadding="0" border="0">
 
672
  <tr>
 
673
    <td>
 
674
      &nbsp;
 
675
    </td>
 
676
    <td>
 
677
 
 
678
<p>
 
679
Return the XPath of this node <dl compact><dt><b>Returns:</b></dt><dd>The XPath of the node. </dd></dl>
 
680
 
 
681
<p>
 
682
    </td>
 
683
  </tr>
 
684
</table>
 
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">
 
687
  <tr>
 
688
    <td class="mdRow">
 
689
      <table cellpadding="0" cellspacing="0" border="0">
 
690
        <tr>
 
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">(&nbsp;</td>
 
693
          <td class="md" nowrap valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a> *&nbsp;</td>
 
694
          <td class="mdname" nowrap> <em>node</em>, </td>
 
695
        </tr>
 
696
        <tr>
 
697
          <td class="md" nowrap align="right"></td>
 
698
          <td class="md"></td>
 
699
          <td class="md" nowrap><a class="el" href="classbool.html">bool</a>&nbsp;</td>
 
700
          <td class="mdname" nowrap> <em>recursive</em> = <code>true</code></td>
 
701
        </tr>
 
702
        <tr>
 
703
          <td class="md"></td>
 
704
          <td class="md">)&nbsp;</td>
 
705
          <td class="md" colspan="2"></td>
 
706
        </tr>
 
707
      </table>
 
708
    </td>
 
709
  </tr>
 
710
</table>
 
711
<table cellspacing="5" cellpadding="0" border="0">
 
712
  <tr>
 
713
    <td>
 
714
      &nbsp;
 
715
    </td>
 
716
    <td>
 
717
 
 
718
<p>
 
719
Import node(s) from another document under this node, without affecting the source node. 
 
720
<p>
 
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>&nbsp;</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>&nbsp;</td><td>Whether to import the child nodes also. Defaults to true. </td></tr>
 
725
  </table>
 
726
</dl>
 
727
<dl compact><dt><b>Returns:</b></dt><dd>The newly-created node. </dd></dl>
 
728
    </td>
 
729
  </tr>
 
730
</table>
 
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">
 
733
  <tr>
 
734
    <td class="mdRow">
 
735
      <table cellpadding="0" cellspacing="0" border="0">
 
736
        <tr>
 
737
          <td class="md" nowrap valign="top">void xmlpp::Node::remove_child           </td>
 
738
          <td class="md" valign="top">(&nbsp;</td>
 
739
          <td class="md" nowrap valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a> *&nbsp;</td>
 
740
          <td class="mdname1" valign="top" nowrap> <em>node</em>          </td>
 
741
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
742
          <td class="md" nowrap></td>
 
743
        </tr>
 
744
      </table>
 
745
    </td>
 
746
  </tr>
 
747
</table>
 
748
<table cellspacing="5" cellpadding="0" border="0">
 
749
  <tr>
 
750
    <td>
 
751
      &nbsp;
 
752
    </td>
 
753
    <td>
 
754
 
 
755
<p>
 
756
Remove the child node. 
 
757
<p>
 
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>&nbsp;</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>
 
761
  </table>
 
762
</dl>
 
763
    </td>
 
764
  </tr>
 
765
</table>
 
766
<a class="anchor" name="b5e1b1059a2af0818b1a8937fad49835"></a><!-- doxytag: member="xmlpp::Node::set_name" ref="b5e1b1059a2af0818b1a8937fad49835" args="(const Glib::ustring &amp;name)" --><p>
 
767
<table class="mdTable" cellpadding="2" cellspacing="0">
 
768
  <tr>
 
769
    <td class="mdRow">
 
770
      <table cellpadding="0" cellspacing="0" border="0">
 
771
        <tr>
 
772
          <td class="md" nowrap valign="top">void xmlpp::Node::set_name           </td>
 
773
          <td class="md" valign="top">(&nbsp;</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> &amp;&nbsp;</td>
 
775
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
 
776
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
777
          <td class="md" nowrap></td>
 
778
        </tr>
 
779
      </table>
 
780
    </td>
 
781
  </tr>
 
782
</table>
 
783
<table cellspacing="5" cellpadding="0" border="0">
 
784
  <tr>
 
785
    <td>
 
786
      &nbsp;
 
787
    </td>
 
788
    <td>
 
789
 
 
790
<p>
 
791
Set the name of this node. 
 
792
<p>
 
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>&nbsp;</td><td>The new name for the node. </td></tr>
 
796
  </table>
 
797
</dl>
 
798
    </td>
 
799
  </tr>
 
800
</table>
 
801
<a class="anchor" name="4ddefaaaf3f0b550e776e9100bc23257"></a><!-- doxytag: member="xmlpp::Node::set_namespace" ref="4ddefaaaf3f0b550e776e9100bc23257" args="(const Glib::ustring &amp;ns_prefix)" --><p>
 
802
<table class="mdTable" cellpadding="2" cellspacing="0">
 
803
  <tr>
 
804
    <td class="mdRow">
 
805
      <table cellpadding="0" cellspacing="0" border="0">
 
806
        <tr>
 
807
          <td class="md" nowrap valign="top">void xmlpp::Node::set_namespace           </td>
 
808
          <td class="md" valign="top">(&nbsp;</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> &amp;&nbsp;</td>
 
810
          <td class="mdname1" valign="top" nowrap> <em>ns_prefix</em>          </td>
 
811
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
812
          <td class="md" nowrap></td>
 
813
        </tr>
 
814
      </table>
 
815
    </td>
 
816
  </tr>
 
817
</table>
 
818
<table cellspacing="5" cellpadding="0" border="0">
 
819
  <tr>
 
820
    <td>
 
821
      &nbsp;
 
822
    </td>
 
823
    <td>
 
824
 
 
825
<p>
 
826
Set the namespace prefix used by the node If no such namespace prefix has been declared then this method will throw an exception. 
 
827
<p>
 
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>&nbsp;</td><td>The namespace prefix. </td></tr>
 
831
  </table>
 
832
</dl>
 
833
    </td>
 
834
  </tr>
 
835
</table>
 
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&nbsp;
 
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>
 
841
</body>
 
842
</html>