Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > b1a77a3189c94689b27242b0c24bdea3 > files > 58

libxml++-doc-2.33.2-1.fc14.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libxml++: xmlpp::Node Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacexmlpp.html">xmlpp</a> </li>
      <li><a class="el" href="classxmlpp_1_1Node.html">Node</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> </div>
  <div class="headertitle">
<h1>xmlpp::Node Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="xmlpp::Node" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->
<p>Represents XML Nodes. <a href="#_details">More...</a></p>

<p><code>#include &lt;libxml++/nodes/node.h&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for xmlpp::Node:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1Node__inherit__graph.png" border="0" usemap="#xmlpp_1_1Node_inherit__map" alt="Inheritance graph"/></div>
<map name="xmlpp_1_1Node_inherit__map" id="xmlpp_1_1Node_inherit__map">
<area shape="rect" id="node5" href="classxmlpp_1_1Attribute.html" title="Represents XML Node attributes." alt="" coords="363,31,477,62"/><area shape="rect" id="node7" href="classxmlpp_1_1ContentNode.html" title="Content Node." alt="" coords="351,85,489,115"/><area shape="rect" id="node17" href="classxmlpp_1_1Element.html" title="Element nodes have attributes as well as child nodes." alt="" coords="364,138,476,169"/><area shape="rect" id="node19" href="classxmlpp_1_1EntityReference.html" title="Entity references refer to previously declared entities." alt="" coords="341,191,499,222"/><area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="7,111,148,142"/><area shape="rect" id="node9" href="classxmlpp_1_1CdataNode.html" title="CData node." alt="" coords="593,5,721,35"/><area shape="rect" id="node11" href="classxmlpp_1_1CommentNode.html" title="Comment Node." alt="" coords="583,58,732,89"/><area shape="rect" id="node13" href="classxmlpp_1_1ProcessingInstructionNode.html" title="xmlpp::ProcessingInstructionNode" alt="" coords="547,111,768,142"/><area shape="rect" id="node15" href="classxmlpp_1_1TextNode.html" title="Text Node." alt="" coords="597,165,717,195"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>
<!-- startSectionHeader --><div class="dynheader">
Collaboration diagram for xmlpp::Node:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classxmlpp_1_1Node__coll__graph.png" border="0" usemap="#xmlpp_1_1Node_coll__map" alt="Collaboration graph"/></div>
<map name="xmlpp_1_1Node_coll__map" id="xmlpp_1_1Node_coll__map">
<area shape="rect" id="node2" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,6,147,37"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>

<p><a href="classxmlpp_1_1Node-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::list&lt; <a class="el" href="classxmlpp_1_1Node.html">Node</a>* &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef std::map<br class="typebreak"/>
&lt; <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>, <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A map of namespace prefixes to namespace URIs. <a href="#a0175dca099d30f45ebbfd6a238420426"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a215d8c01b6b01596c4ea853f99dce8e7">Node</a> (_xmlNode* node)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a042c5de83dba6bf5d1923d76f1fb58c0">~Node</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ad8cba86cb7f43dd512f5b6817ed47d9a">get_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name of this node. <a href="#ad8cba86cb7f43dd512f5b6817ed47d9a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ab5e1b1059a2af0818b1a8937fad49835">set_name</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the name of this node. <a href="#ab5e1b1059a2af0818b1a8937fad49835"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a4ddefaaaf3f0b550e776e9100bc23257">set_namespace</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; ns_prefix)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the namespace prefix used by the node. <a href="#a4ddefaaaf3f0b550e776e9100bc23257"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a06790680c79808f1a56ddea438a6df5c">get_namespace_prefix</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a9356e5ee02dbc809f9bf139b12befc6c">get_namespace_uri</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a5e21f3a9996e25bd2df5ec8ce9906575">get_line</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Discover at what line number this node occurs in the XML file. <a href="#a5e21f3a9996e25bd2df5ec8ce9906575"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Element.html">Element</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa8a68ac1887a33e44e3af365bd02db1b">get_parent</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the parent element for this node. <a href="#aa8a68ac1887a33e44e3af365bd02db1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a998e8cb924bd04abf72e57b68d2817f4">get_parent</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the parent element for this node. <a href="#a998e8cb924bd04abf72e57b68d2817f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a59a3e52fd752c243654a2cb58b1b0e18">get_next_sibling</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next sibling for this node. <a href="#a59a3e52fd752c243654a2cb58b1b0e18"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a2576ce35a6a3dd13b49e857524360ac4">get_next_sibling</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next sibling for this node. <a href="#a2576ce35a6a3dd13b49e857524360ac4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aa3ca83ba6e10ff21060be5d0441fa6ac">get_previous_sibling</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the previous sibling for this node . <a href="#aa3ca83ba6e10ff21060be5d0441fa6ac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a567be4ebaffb2cd3dd2ae602c8df4a29">get_previous_sibling</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the previous sibling for this node. <a href="#a567be4ebaffb2cd3dd2ae602c8df4a29"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#abb9d4d7aad234b9b01ae7fe404915a95">get_children</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name=<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the list of child nodes. <a href="#abb9d4d7aad234b9b01ae7fe404915a95"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a2cb9f082c7bebc349c1f606e69788a57">get_children</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name=<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the list of child nodes. <a href="#a2cb9f082c7bebc349c1f606e69788a57"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ac56c54f8006cbfb545642cbf2e96bc4a">add_child</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; ns_prefix=<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a child element to this node. <a href="#ac56c54f8006cbfb545642cbf2e96bc4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a57bc6d6c941f1477a2445609d49ce645">add_child</a> (<a class="el" href="classxmlpp_1_1Node.html">xmlpp::Node</a>* previous_sibling, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; ns_prefix=<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a child element to this node after the specified existing child node. <a href="#a57bc6d6c941f1477a2445609d49ce645"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a9dff93a466cfbeda0357dfc9a3bd316c">add_child_before</a> (<a class="el" href="classxmlpp_1_1Node.html">xmlpp::Node</a>* next_sibling, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; ns_prefix=<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a child element to this node before the specified existing child node. <a href="#a9dff93a466cfbeda0357dfc9a3bd316c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a00ccfb39d9b6d82b5acd5f458c8f8ca8">remove_child</a> (<a class="el" href="classxmlpp_1_1Node.html">Node</a>* node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the child node. <a href="#a00ccfb39d9b6d82b5acd5f458c8f8ca8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aea42eae72fa7901aa1fb8f5c0fd194ec">import_node</a> (const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* node, bool recursive=true)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Import node(s) from another document under this node, without affecting the source node. <a href="#aea42eae72fa7901aa1fb8f5c0fd194ec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#ad05b43e18a4600ada423b74a59efb541">get_path</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the XPath of this node. <a href="#ad05b43e18a4600ada423b74a59efb541"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacexmlpp.html#a649baf2bb62274444784ffb180b3f34c">NodeSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a25e56c6ae44be0926d1efcc7e488d96f">find</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; xpath) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Find nodes from a XPath expression. <a href="#a25e56c6ae44be0926d1efcc7e488d96f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacexmlpp.html#a649baf2bb62274444784ffb180b3f34c">NodeSet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a4bfbd6ed354524c960d6cd425c534c7c">find</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; xpath, const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>&amp; namespaces) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Find nodes from a XPath expression. <a href="#a4bfbd6ed354524c960d6cd425c534c7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_xmlNode*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#aeede250f5cf6de5f55cb7bb94084ec7c">cobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the underlying libxml implementation. <a href="#aeede250f5cf6de5f55cb7bb94084ec7c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const _xmlNode*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a831eea0dbe1e51a350a9b20a2da47fc9">cobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Access the underlying libxml implementation. <a href="#a831eea0dbe1e51a350a9b20a2da47fc9"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a616a872d0fbd86206c0beee0be5abee3">create_wrapper</a> (_xmlNode* node)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct the correct C++ instance for a given libxml C struct instance. <a href="#a616a872d0fbd86206c0beee0be5abee3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#a9e92d80344958a33f8e32ade0bd18fa5">free_wrappers</a> (_xmlNode* attr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete the C++ instance for a given libxml C struct instance, and also recursively destroy the C++ instances for any children. <a href="#a9e92d80344958a33f8e32ade0bd18fa5"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">_xmlNode*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Node.html#af8d31aaa506d229651e8328f8294f5df">create_new_child_node</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; ns_prefix)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create the C instance ready to be added to the parent node. <a href="#af8d31aaa506d229651e8328f8294f5df"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Represents XML Nodes. </p>
<p>You should never new or delete Nodes. The <a class="el" href="classxmlpp_1_1Parser.html" title="XML parser.">Parser</a> will create and manage them for you. </p>
<hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a7b0205c6df142d060dfca9119fadff49"></a><!-- doxytag: member="xmlpp::Node::NodeList" ref="a7b0205c6df142d060dfca9119fadff49" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::list&lt;<a class="el" href="classxmlpp_1_1Node.html">Node</a>*&gt; <a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">xmlpp::Node::NodeList</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0175dca099d30f45ebbfd6a238420426"></a><!-- doxytag: member="xmlpp::Node::PrefixNsMap" ref="a0175dca099d30f45ebbfd6a238420426" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef std::map&lt;<a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>, <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">xmlpp::Node::PrefixNsMap</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A map of namespace prefixes to namespace URIs. </p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a215d8c01b6b01596c4ea853f99dce8e7"></a><!-- doxytag: member="xmlpp::Node::Node" ref="a215d8c01b6b01596c4ea853f99dce8e7" args="(_xmlNode *node)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">xmlpp::Node::Node </td>
          <td>(</td>
          <td class="paramtype">_xmlNode *&#160;</td>
          <td class="paramname"> <em>node</em>&#160;)</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a042c5de83dba6bf5d1923d76f1fb58c0"></a><!-- doxytag: member="xmlpp::Node::~Node" ref="a042c5de83dba6bf5d1923d76f1fb58c0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual xmlpp::Node::~Node </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac56c54f8006cbfb545642cbf2e96bc4a"></a><!-- doxytag: member="xmlpp::Node::add_child" ref="ac56c54f8006cbfb545642cbf2e96bc4a" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::add_child </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>ns_prefix</em> = <code><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a child element to this node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The new node name </td></tr>
    <tr><td class="paramname">ns_prefix</td><td>The namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly-created element </dd></dl>

</div>
</div>
<a class="anchor" id="a57bc6d6c941f1477a2445609d49ce645"></a><!-- doxytag: member="xmlpp::Node::add_child" ref="a57bc6d6c941f1477a2445609d49ce645" args="(xmlpp::Node *previous_sibling, const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::add_child </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Node.html">xmlpp::Node</a>*&#160;</td>
          <td class="paramname"> <em>previous_sibling</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>ns_prefix</em> = <code><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a child element to this node after the specified existing child node. </p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000004">Since libxml++ 2.24:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">previous_sibling</td><td>An existing child node. </td></tr>
    <tr><td class="paramname">name</td><td>The new node name </td></tr>
    <tr><td class="paramname">ns_prefix</td><td>The namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly-created element </dd></dl>

</div>
</div>
<a class="anchor" id="a9dff93a466cfbeda0357dfc9a3bd316c"></a><!-- doxytag: member="xmlpp::Node::add_child_before" ref="a9dff93a466cfbeda0357dfc9a3bd316c" args="(xmlpp::Node *next_sibling, const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::add_child_before </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Node.html">xmlpp::Node</a>*&#160;</td>
          <td class="paramname"> <em>next_sibling</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>ns_prefix</em> = <code><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a child element to this node before the specified existing child node. </p>
<dl class="since_2_24"><dt><b><a class="el" href="since_2_24.html#_since_2_24000005">Since libxml++ 2.24:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">next_sibling</td><td>An existing child node. </td></tr>
    <tr><td class="paramname">name</td><td>The new node name </td></tr>
    <tr><td class="paramname">ns_prefix</td><td>The namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly-created element </dd></dl>

</div>
</div>
<a class="anchor" id="aeede250f5cf6de5f55cb7bb94084ec7c"></a><!-- doxytag: member="xmlpp::Node::cobj" ref="aeede250f5cf6de5f55cb7bb94084ec7c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_xmlNode* xmlpp::Node::cobj </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Access the underlying libxml implementation. </p>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#a1bdce49b8e5f118373732b4a3e14b842">xmlpp::Attribute</a>.</p>

</div>
</div>
<a class="anchor" id="a831eea0dbe1e51a350a9b20a2da47fc9"></a><!-- doxytag: member="xmlpp::Node::cobj" ref="a831eea0dbe1e51a350a9b20a2da47fc9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const _xmlNode* xmlpp::Node::cobj </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Access the underlying libxml implementation. </p>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#a9e6ae08227e9a81dcd18ef5cbf820dc0">xmlpp::Attribute</a>.</p>

</div>
</div>
<a class="anchor" id="af8d31aaa506d229651e8328f8294f5df"></a><!-- doxytag: member="xmlpp::Node::create_new_child_node" ref="af8d31aaa506d229651e8328f8294f5df" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">_xmlNode* xmlpp::Node::create_new_child_node </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>ns_prefix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create the C instance ready to be added to the parent node. </p>

</div>
</div>
<a class="anchor" id="a616a872d0fbd86206c0beee0be5abee3"></a><!-- doxytag: member="xmlpp::Node::create_wrapper" ref="a616a872d0fbd86206c0beee0be5abee3" args="(_xmlNode *node)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void xmlpp::Node::create_wrapper </td>
          <td>(</td>
          <td class="paramtype">_xmlNode *&#160;</td>
          <td class="paramname"> <em>node</em>&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct the correct C++ instance for a given libxml C struct instance. </p>
<p>This is only for use by the libxml++ implementation.</p>
<p>node A pointer to an xmlNode or a "derived" struct, such as xmlDoc, xmlAttr, etc. </p>

</div>
</div>
<a class="anchor" id="a25e56c6ae44be0926d1efcc7e488d96f"></a><!-- doxytag: member="xmlpp::Node::find" ref="a25e56c6ae44be0926d1efcc7e488d96f" args="(const Glib::ustring &amp;xpath) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacexmlpp.html#a649baf2bb62274444784ffb180b3f34c">NodeSet</a> xmlpp::Node::find </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>xpath</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Find nodes from a XPath expression. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4bfbd6ed354524c960d6cd425c534c7c"></a><!-- doxytag: member="xmlpp::Node::find" ref="a4bfbd6ed354524c960d6cd425c534c7c" args="(const Glib::ustring &amp;xpath, const PrefixNsMap &amp;namespaces) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacexmlpp.html#a649baf2bb62274444784ffb180b3f34c">NodeSet</a> xmlpp::Node::find </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>xpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html#a0175dca099d30f45ebbfd6a238420426">PrefixNsMap</a>&amp;&#160;</td>
          <td class="paramname"> <em>namespaces</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Find nodes from a XPath expression. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">xpath</td><td>The XPath of the nodes. </td></tr>
    <tr><td class="paramname">namespaces</td><td>A map of namespace prefixes to namespace URIs to be used while finding. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9e92d80344958a33f8e32ade0bd18fa5"></a><!-- doxytag: member="xmlpp::Node::free_wrappers" ref="a9e92d80344958a33f8e32ade0bd18fa5" args="(_xmlNode *attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void xmlpp::Node::free_wrappers </td>
          <td>(</td>
          <td class="paramtype">_xmlNode *&#160;</td>
          <td class="paramname"> <em>attr</em>&#160;)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete the C++ instance for a given libxml C struct instance, and also recursively destroy the C++ instances for any children. </p>
<p>This is only for use by the libxml++ implementation. node A pointer to an xmlNode or a "derived" struct, such as xmlDoc, xmlAttr, etc. </p>

</div>
</div>
<a class="anchor" id="abb9d4d7aad234b9b01ae7fe404915a95"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="abb9d4d7aad234b9b01ae7fe404915a95" args="(const Glib::ustring &amp;name=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a> xmlpp::Node::get_children </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> = <code><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtain the list of child nodes. </p>
<p>You may optionally obtain a list of only the child nodes which have a certain name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>

</div>
</div>
<a class="anchor" id="a2cb9f082c7bebc349c1f606e69788a57"></a><!-- doxytag: member="xmlpp::Node::get_children" ref="a2cb9f082c7bebc349c1f606e69788a57" args="(const Glib::ustring &amp;name=Glib::ustring()) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html#a7b0205c6df142d060dfca9119fadff49">NodeList</a> xmlpp::Node::get_children </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> = <code><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Obtain the list of child nodes. </p>
<p>You may optionally obtain a list of only the child nodes which have a certain name. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</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>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The list of child nodes. </dd></dl>

</div>
</div>
<a class="anchor" id="a5e21f3a9996e25bd2df5ec8ce9906575"></a><!-- doxytag: member="xmlpp::Node::get_line" ref="a5e21f3a9996e25bd2df5ec8ce9906575" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int xmlpp::Node::get_line </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Discover at what line number this node occurs in the XML file. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The line number. </dd></dl>

</div>
</div>
<a class="anchor" id="ad8cba86cb7f43dd512f5b6817ed47d9a"></a><!-- doxytag: member="xmlpp::Node::get_name" ref="ad8cba86cb7f43dd512f5b6817ed47d9a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_name </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the name of this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The node's name. </dd></dl>

<p>Reimplemented in <a class="el" href="classxmlpp_1_1Attribute.html#a553e7a694039b23150c27bfc05af2d60">xmlpp::Attribute</a>.</p>

</div>
</div>
<a class="anchor" id="a06790680c79808f1a56ddea438a6df5c"></a><!-- doxytag: member="xmlpp::Node::get_namespace_prefix" ref="a06790680c79808f1a56ddea438a6df5c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_prefix </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9356e5ee02dbc809f9bf139b12befc6c"></a><!-- doxytag: member="xmlpp::Node::get_namespace_uri" ref="a9356e5ee02dbc809f9bf139b12befc6c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_namespace_uri </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a59a3e52fd752c243654a2cb58b1b0e18"></a><!-- doxytag: member="xmlpp::Node::get_next_sibling" ref="a59a3e52fd752c243654a2cb58b1b0e18" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_next_sibling </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the next sibling for this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The next sibling </dd></dl>

</div>
</div>
<a class="anchor" id="a2576ce35a6a3dd13b49e857524360ac4"></a><!-- doxytag: member="xmlpp::Node::get_next_sibling" ref="a2576ce35a6a3dd13b49e857524360ac4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_next_sibling </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the next sibling for this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The next sibling </dd></dl>

</div>
</div>
<a class="anchor" id="a998e8cb924bd04abf72e57b68d2817f4"></a><!-- doxytag: member="xmlpp::Node::get_parent" ref="a998e8cb924bd04abf72e57b68d2817f4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the parent element for this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>

</div>
</div>
<a class="anchor" id="aa8a68ac1887a33e44e3af365bd02db1b"></a><!-- doxytag: member="xmlpp::Node::get_parent" ref="aa8a68ac1887a33e44e3af365bd02db1b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Node::get_parent </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the parent element for this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The parent node </dd></dl>

</div>
</div>
<a class="anchor" id="ad05b43e18a4600ada423b74a59efb541"></a><!-- doxytag: member="xmlpp::Node::get_path" ref="ad05b43e18a4600ada423b74a59efb541" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Node::get_path </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the XPath of this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The XPath of the node. </dd></dl>

</div>
</div>
<a class="anchor" id="a567be4ebaffb2cd3dd2ae602c8df4a29"></a><!-- doxytag: member="xmlpp::Node::get_previous_sibling" ref="a567be4ebaffb2cd3dd2ae602c8df4a29" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_previous_sibling </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the previous sibling for this node. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The previous sibling </dd></dl>

</div>
</div>
<a class="anchor" id="aa3ca83ba6e10ff21060be5d0441fa6ac"></a><!-- doxytag: member="xmlpp::Node::get_previous_sibling" ref="aa3ca83ba6e10ff21060be5d0441fa6ac" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::get_previous_sibling </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the previous sibling for this node . </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The previous sibling </dd></dl>

</div>
</div>
<a class="anchor" id="aea42eae72fa7901aa1fb8f5c0fd194ec"></a><!-- doxytag: member="xmlpp::Node::import_node" ref="aea42eae72fa7901aa1fb8f5c0fd194ec" args="(const Node *node, bool recursive=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classxmlpp_1_1Node.html">Node</a>* xmlpp::Node::import_node </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td>
          <td class="paramname"> <em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>recursive</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Import node(s) from another document under this node, without affecting the source node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>The node to copy and insert under the current node. </td></tr>
    <tr><td class="paramname">recursive</td><td>Whether to import the child nodes also. Defaults to true. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The newly-created node. </dd></dl>

</div>
</div>
<a class="anchor" id="a00ccfb39d9b6d82b5acd5f458c8f8ca8"></a><!-- doxytag: member="xmlpp::Node::remove_child" ref="a00ccfb39d9b6d82b5acd5f458c8f8ca8" args="(Node *node)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::Node::remove_child </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classxmlpp_1_1Node.html">Node</a>*&#160;</td>
          <td class="paramname"> <em>node</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the child node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>The child node to remove. This <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes.">Node</a> will be deleted and therefore unusable after calling this method. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab5e1b1059a2af0818b1a8937fad49835"></a><!-- doxytag: member="xmlpp::Node::set_name" ref="ab5e1b1059a2af0818b1a8937fad49835" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::Node::set_name </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the name of this node. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The new name for the node. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4ddefaaaf3f0b550e776e9100bc23257"></a><!-- doxytag: member="xmlpp::Node::set_namespace" ref="a4ddefaaaf3f0b550e776e9100bc23257" args="(const Glib::ustring &amp;ns_prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xmlpp::Node::set_namespace </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>ns_prefix</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the namespace prefix used by the node. </p>
<p>If no such namespace prefix has been declared then this method will throw an exception. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">ns_prefix</td><td>The namespace prefix. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>nodes/node.h</li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Feb 11 2011 16:08:50 for libxml++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>