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

« back to all changes in this revision

Viewing changes to docs/reference/2.20/html/classxmlpp_1_1Element.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-09-18 11:32:24 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070918113224-7x031mzf1shoozxx
Tags: 2.20.0-0ubuntu1
* New upstream release:
  - Element: Added get_attribute_value(), to get a simple text value for an
    attribute.
  - Added an experimental --enable-api-exceptions configure option, to allow
    libxml++ to build without exceptions.
* debian/libxml++2.6-doc.docs: 2.18 -> 2.20.

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::Element 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.5.1 -->
 
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
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
 
16
  </ul></div>
 
17
<div class="tabs">
 
18
  <ul>
 
19
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
20
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
21
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
22
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
23
  </ul></div>
 
24
<div class="nav">
 
25
<a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1Element.html">Element</a></div>
 
26
<h1>xmlpp::Element Class Reference</h1><!-- doxytag: class="xmlpp::Element" --><!-- doxytag: inherits="xmlpp::Node" --><a class="el" href="classxmlpp_1_1Element.html">Element</a> nodes have attributes as well as child nodes.  
 
27
<a href="#_details">More...</a>
 
28
<p>
 
29
Inheritance diagram for xmlpp::Element:<p><center><img src="classxmlpp_1_1Element__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1Element__inherit__map" alt="Inheritance graph"></center>
 
30
<map name="xmlpp_1_1Element__inherit__map">
 
31
<area href="classxmlpp_1_1Node.html" shape="rect" coords="32,84,136,111" alt="">
 
32
<area href="classxmlpp_1_1NonCopyable.html" shape="rect" coords="5,7,163,33" alt="">
 
33
</map>
 
34
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxmlpp_1_1Element-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
 
35
<tr><td></td></tr>
 
36
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
 
37
<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_1Attribute.html">Attribute</a> * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#7c54c83af3dfeddf2a70dba5ca6cc1d1">AttributeList</a></td></tr>
 
38
 
 
39
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
40
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#ddce07f26b8ca52beb583d942375a756">Element</a> (_xmlNode *node)</td></tr>
 
41
 
 
42
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#6633bfbb6b3b6520ab9ac8fa4991b066">~Element</a> ()</td></tr>
 
43
 
 
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#801e28a85e4c45d145d056c5ff7186f3">set_namespace_declaration</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_uri, 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>
 
45
 
 
46
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This adds a namespace declaration to this node which will apply to this node and all children.  <a href="#801e28a85e4c45d145d056c5ff7186f3"></a><br></td></tr>
 
47
<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">AttributeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#8fbb85e7ecabc5a8b9b39638f94e4fb7">get_attributes</a> ()</td></tr>
 
48
 
 
49
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtain the list of attributes for this element.  <a href="#8fbb85e7ecabc5a8b9b39638f94e4fb7"></a><br></td></tr>
 
50
<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">AttributeList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#48b267b719a1bbd4e213da05955a810e">get_attributes</a> () const</td></tr>
 
51
 
 
52
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtain the list of attributes for this element.  <a href="#48b267b719a1bbd4e213da05955a810e"></a><br></td></tr>
 
53
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#1bb57d120324e5cd239c60fc6071523f">get_attribute</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>()) const</td></tr>
 
54
 
 
55
<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_1Element.html#7983a2891f7a82b72cf0c54431c8d86c">get_attribute_value</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>()) const</td></tr>
 
56
 
 
57
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the value of the attribute with this name, and optionally with this namespace.  <a href="#7983a2891f7a82b72cf0c54431c8d86c"></a><br></td></tr>
 
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#359b10f76db129fff5776c8405ac8e9a">set_attribute</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;value, 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>
 
59
 
 
60
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of the attribute with this name, and optionally with this namespace.  <a href="#359b10f76db129fff5776c8405ac8e9a"></a><br></td></tr>
 
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#3d5765f07699dc8d4d55c0b0157defad">remove_attribute</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>
 
62
 
 
63
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Remove the attribute with this name, and optionally with this namespace.  <a href="#3d5765f07699dc8d4d55c0b0157defad"></a><br></td></tr>
 
64
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#71885eacc99a1e7812b47d3d0607423a">get_child_text</a> ()</td></tr>
 
65
 
 
66
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the first child text content node.  <a href="#71885eacc99a1e7812b47d3d0607423a"></a><br></td></tr>
 
67
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#429850bb28e536f790a10c0143448e3e">get_child_text</a> () const</td></tr>
 
68
 
 
69
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the first child text content node.  <a href="#429850bb28e536f790a10c0143448e3e"></a><br></td></tr>
 
70
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#15cd56e871aaf9625b7f4fbedb97c764">add_child_text</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;content=<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>
 
71
 
 
72
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append a new text node.  <a href="#15cd56e871aaf9625b7f4fbedb97c764"></a><br></td></tr>
 
73
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#9be4234049fe13f2941d9c7a5dbc37e2">set_child_text</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;content)</td></tr>
 
74
 
 
75
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the text of the first text node, adding one if necessary.  <a href="#9be4234049fe13f2941d9c7a5dbc37e2"></a><br></td></tr>
 
76
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#af163cefbd08210bdb3c00598ef4164f">has_child_text</a> () const</td></tr>
 
77
 
 
78
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Discover whether one of the child nodes is a text node.  <a href="#af163cefbd08210bdb3c00598ef4164f"></a><br></td></tr>
 
79
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1CommentNode.html">CommentNode</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Element.html#f69479710a4ab4cd8e89703a20dd360e">add_child_comment</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;content)</td></tr>
 
80
 
 
81
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append a new comment node.  <a href="#f69479710a4ab4cd8e89703a20dd360e"></a><br></td></tr>
 
82
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
 
83
<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_1Element.html#3453ab385371f11c42ec459cbc2eb821">get_namespace_uri_for_prefix</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) const</td></tr>
 
84
 
 
85
</table>
 
86
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
87
<a class="el" href="classxmlpp_1_1Element.html">Element</a> nodes have attributes as well as child nodes. 
 
88
<p>
 
89
This will be instantiated by the parser. 
 
90
<p>
 
91
<hr><h2>Member Typedef Documentation</h2>
 
92
<a class="anchor" name="7c54c83af3dfeddf2a70dba5ca6cc1d1"></a><!-- doxytag: member="xmlpp::Element::AttributeList" ref="7c54c83af3dfeddf2a70dba5ca6cc1d1" args="" -->
 
93
<div class="memitem">
 
94
<div class="memproto">
 
95
      <table class="memname">
 
96
        <tr>
 
97
          <td class="memname">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_1Attribute.html">Attribute</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::Element::AttributeList</a>          </td>
 
98
        </tr>
 
99
      </table>
 
100
</div>
 
101
<div class="memdoc">
 
102
 
 
103
<p>
 
104
 
 
105
</div>
 
106
</div><p>
 
107
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
108
<a class="anchor" name="ddce07f26b8ca52beb583d942375a756"></a><!-- doxytag: member="xmlpp::Element::Element" ref="ddce07f26b8ca52beb583d942375a756" args="(_xmlNode *node)" -->
 
109
<div class="memitem">
 
110
<div class="memproto">
 
111
      <table class="memname">
 
112
        <tr>
 
113
          <td class="memname">xmlpp::Element::Element           </td>
 
114
          <td>(</td>
 
115
          <td class="paramtype">_xmlNode *&nbsp;</td>
 
116
          <td class="paramname"> <em>node</em>          </td>
 
117
          <td>&nbsp;)&nbsp;</td>
 
118
          <td width="100%"><code> [explicit]</code></td>
 
119
        </tr>
 
120
      </table>
 
121
</div>
 
122
<div class="memdoc">
 
123
 
 
124
<p>
 
125
 
 
126
</div>
 
127
</div><p>
 
128
<a class="anchor" name="6633bfbb6b3b6520ab9ac8fa4991b066"></a><!-- doxytag: member="xmlpp::Element::~Element" ref="6633bfbb6b3b6520ab9ac8fa4991b066" args="()" -->
 
129
<div class="memitem">
 
130
<div class="memproto">
 
131
      <table class="memname">
 
132
        <tr>
 
133
          <td class="memname">virtual xmlpp::Element::~Element           </td>
 
134
          <td>(</td>
 
135
          <td class="paramname">          </td>
 
136
          <td>&nbsp;)&nbsp;</td>
 
137
          <td width="100%"><code> [virtual]</code></td>
 
138
        </tr>
 
139
      </table>
 
140
</div>
 
141
<div class="memdoc">
 
142
 
 
143
<p>
 
144
 
 
145
</div>
 
146
</div><p>
 
147
<hr><h2>Member Function Documentation</h2>
 
148
<a class="anchor" name="801e28a85e4c45d145d056c5ff7186f3"></a><!-- doxytag: member="xmlpp::Element::set_namespace_declaration" ref="801e28a85e4c45d145d056c5ff7186f3" args="(const Glib::ustring &amp;ns_uri, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
 
149
<div class="memitem">
 
150
<div class="memproto">
 
151
      <table class="memname">
 
152
        <tr>
 
153
          <td class="memname">void xmlpp::Element::set_namespace_declaration           </td>
 
154
          <td>(</td>
 
155
          <td class="paramtype">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>
 
156
          <td class="paramname"> <em>ns_uri</em>, </td>
 
157
        </tr>
 
158
        <tr>
 
159
          <td class="paramkey"></td>
 
160
          <td></td>
 
161
          <td class="paramtype">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>
 
162
          <td class="paramname"> <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><td>&nbsp;</td>
 
163
        </tr>
 
164
        <tr>
 
165
          <td></td>
 
166
          <td>)</td>
 
167
          <td></td><td></td><td width="100%"></td>
 
168
        </tr>
 
169
      </table>
 
170
</div>
 
171
<div class="memdoc">
 
172
 
 
173
<p>
 
174
This adds a namespace declaration to this node which will apply to this node and all children. 
 
175
<p>
 
176
<dl compact><dt><b>Parameters:</b></dt><dd>
 
177
  <table border="0" cellspacing="2" cellpadding="0">
 
178
    <tr><td valign="top"></td><td valign="top"><em>ns_uri</em>&nbsp;</td><td>The namespace to associate with the prefix, or to use as the default namespace if no prefix is specified. </td></tr>
 
179
    <tr><td valign="top"></td><td valign="top"><em>ns_prefix</em>&nbsp;</td><td>The namespace prefix. If no prefix is specified then the namespace URI will be the default namespace. </td></tr>
 
180
  </table>
 
181
</dl>
 
182
 
 
183
</div>
 
184
</div><p>
 
185
<a class="anchor" name="8fbb85e7ecabc5a8b9b39638f94e4fb7"></a><!-- doxytag: member="xmlpp::Element::get_attributes" ref="8fbb85e7ecabc5a8b9b39638f94e4fb7" args="()" -->
 
186
<div class="memitem">
 
187
<div class="memproto">
 
188
      <table class="memname">
 
189
        <tr>
 
190
          <td class="memname"><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">AttributeList</a> xmlpp::Element::get_attributes           </td>
 
191
          <td>(</td>
 
192
          <td class="paramname">          </td>
 
193
          <td>&nbsp;)&nbsp;</td>
 
194
          <td width="100%"></td>
 
195
        </tr>
 
196
      </table>
 
197
</div>
 
198
<div class="memdoc">
 
199
 
 
200
<p>
 
201
Obtain the list of attributes for this element. 
 
202
<p>
 
203
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The list of attributes. </dd></dl>
 
204
 
 
205
</div>
 
206
</div><p>
 
207
<a class="anchor" name="48b267b719a1bbd4e213da05955a810e"></a><!-- doxytag: member="xmlpp::Element::get_attributes" ref="48b267b719a1bbd4e213da05955a810e" args="() const" -->
 
208
<div class="memitem">
 
209
<div class="memproto">
 
210
      <table class="memname">
 
211
        <tr>
 
212
          <td class="memname">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">AttributeList</a> xmlpp::Element::get_attributes           </td>
 
213
          <td>(</td>
 
214
          <td class="paramname">          </td>
 
215
          <td>&nbsp;)&nbsp;</td>
 
216
          <td width="100%"> const</td>
 
217
        </tr>
 
218
      </table>
 
219
</div>
 
220
<div class="memdoc">
 
221
 
 
222
<p>
 
223
Obtain the list of attributes for this element. 
 
224
<p>
 
225
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The list of attributes. </dd></dl>
 
226
 
 
227
</div>
 
228
</div><p>
 
229
<a class="anchor" name="1bb57d120324e5cd239c60fc6071523f"></a><!-- doxytag: member="xmlpp::Element::get_attribute" ref="1bb57d120324e5cd239c60fc6071523f" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring()) const" -->
 
230
<div class="memitem">
 
231
<div class="memproto">
 
232
      <table class="memname">
 
233
        <tr>
 
234
          <td class="memname"><a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a>* xmlpp::Element::get_attribute           </td>
 
235
          <td>(</td>
 
236
          <td class="paramtype">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>
 
237
          <td class="paramname"> <em>name</em>, </td>
 
238
        </tr>
 
239
        <tr>
 
240
          <td class="paramkey"></td>
 
241
          <td></td>
 
242
          <td class="paramtype">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>
 
243
          <td class="paramname"> <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><td>&nbsp;</td>
 
244
        </tr>
 
245
        <tr>
 
246
          <td></td>
 
247
          <td>)</td>
 
248
          <td></td><td></td><td width="100%"> const</td>
 
249
        </tr>
 
250
      </table>
 
251
</div>
 
252
<div class="memdoc">
 
253
 
 
254
<p>
 
255
 
 
256
</div>
 
257
</div><p>
 
258
<a class="anchor" name="7983a2891f7a82b72cf0c54431c8d86c"></a><!-- doxytag: member="xmlpp::Element::get_attribute_value" ref="7983a2891f7a82b72cf0c54431c8d86c" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring()) const" -->
 
259
<div class="memitem">
 
260
<div class="memproto">
 
261
      <table class="memname">
 
262
        <tr>
 
263
          <td class="memname"><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::Element::get_attribute_value           </td>
 
264
          <td>(</td>
 
265
          <td class="paramtype">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>
 
266
          <td class="paramname"> <em>name</em>, </td>
 
267
        </tr>
 
268
        <tr>
 
269
          <td class="paramkey"></td>
 
270
          <td></td>
 
271
          <td class="paramtype">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>
 
272
          <td class="paramname"> <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><td>&nbsp;</td>
 
273
        </tr>
 
274
        <tr>
 
275
          <td></td>
 
276
          <td>)</td>
 
277
          <td></td><td></td><td width="100%"> const</td>
 
278
        </tr>
 
279
      </table>
 
280
</div>
 
281
<div class="memdoc">
 
282
 
 
283
<p>
 
284
Get the value of the attribute with this name, and optionally with this namespace. 
 
285
<p>
 
286
For finer control, you might use <a class="el" href="classxmlpp_1_1Element.html#1bb57d120324e5cd239c60fc6071523f">get_attribute()</a> and use the methods of the <a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
 
287
  <table border="0" cellspacing="2" cellpadding="0">
 
288
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute whose value will be retrieved. </td></tr>
 
289
    <tr><td valign="top"></td><td valign="top"><em>ns_prefix</em>&nbsp;</td><td>Namespace prefix. </td></tr>
 
290
  </table>
 
291
</dl>
 
292
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The text value of the attribute, or an empty string if no such attribute was found.</dd></dl>
 
293
<dl compact><dt><b><a class="el" href="newin2p20s.html#_newin2p20s000001">Since libxml++ 2.20:</a></b></dt><dd></dd></dl>
 
294
 
 
295
</div>
 
296
</div><p>
 
297
<a class="anchor" name="359b10f76db129fff5776c8405ac8e9a"></a><!-- doxytag: member="xmlpp::Element::set_attribute" ref="359b10f76db129fff5776c8405ac8e9a" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;value, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
 
298
<div class="memitem">
 
299
<div class="memproto">
 
300
      <table class="memname">
 
301
        <tr>
 
302
          <td class="memname"><a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a>* xmlpp::Element::set_attribute           </td>
 
303
          <td>(</td>
 
304
          <td class="paramtype">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>
 
305
          <td class="paramname"> <em>name</em>, </td>
 
306
        </tr>
 
307
        <tr>
 
308
          <td class="paramkey"></td>
 
309
          <td></td>
 
310
          <td class="paramtype">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>
 
311
          <td class="paramname"> <em>value</em>, </td>
 
312
        </tr>
 
313
        <tr>
 
314
          <td class="paramkey"></td>
 
315
          <td></td>
 
316
          <td class="paramtype">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>
 
317
          <td class="paramname"> <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><td>&nbsp;</td>
 
318
        </tr>
 
319
        <tr>
 
320
          <td></td>
 
321
          <td>)</td>
 
322
          <td></td><td></td><td width="100%"></td>
 
323
        </tr>
 
324
      </table>
 
325
</div>
 
326
<div class="memdoc">
 
327
 
 
328
<p>
 
329
Set the value of the attribute with this name, and optionally with this namespace. 
 
330
<p>
 
331
A matching attribute will be added if no matching attribute already exists. For finer control, you might want to use <a class="el" href="classxmlpp_1_1Element.html#1bb57d120324e5cd239c60fc6071523f">get_attribute()</a> and use the methods of the <a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> class. <dl compact><dt><b>Parameters:</b></dt><dd>
 
332
  <table border="0" cellspacing="2" cellpadding="0">
 
333
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute whose value will change. </td></tr>
 
334
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The new value for the attribute </td></tr>
 
335
    <tr><td valign="top"></td><td valign="top"><em>ns_prefix</em>&nbsp;</td><td>Namespace prefix. If the prefix has not been declared then this method will throw an exception. </td></tr>
 
336
  </table>
 
337
</dl>
 
338
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The attribute that was changed, or 0 is no suitable <a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> was found. </dd></dl>
 
339
 
 
340
</div>
 
341
</div><p>
 
342
<a class="anchor" name="3d5765f07699dc8d4d55c0b0157defad"></a><!-- doxytag: member="xmlpp::Element::remove_attribute" ref="3d5765f07699dc8d4d55c0b0157defad" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;ns_prefix=Glib::ustring())" -->
 
343
<div class="memitem">
 
344
<div class="memproto">
 
345
      <table class="memname">
 
346
        <tr>
 
347
          <td class="memname">void xmlpp::Element::remove_attribute           </td>
 
348
          <td>(</td>
 
349
          <td class="paramtype">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>
 
350
          <td class="paramname"> <em>name</em>, </td>
 
351
        </tr>
 
352
        <tr>
 
353
          <td class="paramkey"></td>
 
354
          <td></td>
 
355
          <td class="paramtype">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>
 
356
          <td class="paramname"> <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><td>&nbsp;</td>
 
357
        </tr>
 
358
        <tr>
 
359
          <td></td>
 
360
          <td>)</td>
 
361
          <td></td><td></td><td width="100%"></td>
 
362
        </tr>
 
363
      </table>
 
364
</div>
 
365
<div class="memdoc">
 
366
 
 
367
<p>
 
368
Remove the attribute with this name, and optionally with this namespace. 
 
369
<p>
 
370
<dl compact><dt><b>Parameters:</b></dt><dd>
 
371
  <table border="0" cellspacing="2" cellpadding="0">
 
372
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name of the attribute to be removed </td></tr>
 
373
    <tr><td valign="top"></td><td valign="top"><em>ns_prefix</em>&nbsp;</td><td>Namespace prefix. If specified, the attribute will be removed only if the attribute has this namespace. </td></tr>
 
374
  </table>
 
375
</dl>
 
376
 
 
377
</div>
 
378
</div><p>
 
379
<a class="anchor" name="71885eacc99a1e7812b47d3d0607423a"></a><!-- doxytag: member="xmlpp::Element::get_child_text" ref="71885eacc99a1e7812b47d3d0607423a" args="()" -->
 
380
<div class="memitem">
 
381
<div class="memproto">
 
382
      <table class="memname">
 
383
        <tr>
 
384
          <td class="memname"><a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a>* xmlpp::Element::get_child_text           </td>
 
385
          <td>(</td>
 
386
          <td class="paramname">          </td>
 
387
          <td>&nbsp;)&nbsp;</td>
 
388
          <td width="100%"></td>
 
389
        </tr>
 
390
      </table>
 
391
</div>
 
392
<div class="memdoc">
 
393
 
 
394
<p>
 
395
Get the first child text content node. 
 
396
<p>
 
397
This is a convenience method, meant as an alternative to iterating over all the child nodes to find the first suitable node then and getting the text directly. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The first text node, if any. </dd></dl>
 
398
 
 
399
</div>
 
400
</div><p>
 
401
<a class="anchor" name="429850bb28e536f790a10c0143448e3e"></a><!-- doxytag: member="xmlpp::Element::get_child_text" ref="429850bb28e536f790a10c0143448e3e" args="() const" -->
 
402
<div class="memitem">
 
403
<div class="memproto">
 
404
      <table class="memname">
 
405
        <tr>
 
406
          <td class="memname">const <a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a>* xmlpp::Element::get_child_text           </td>
 
407
          <td>(</td>
 
408
          <td class="paramname">          </td>
 
409
          <td>&nbsp;)&nbsp;</td>
 
410
          <td width="100%"> const</td>
 
411
        </tr>
 
412
      </table>
 
413
</div>
 
414
<div class="memdoc">
 
415
 
 
416
<p>
 
417
Get the first child text content node. 
 
418
<p>
 
419
This is a convenience method, meant as an alternative to iterating over all the child nodes to find the first suitable node then and getting the text directly. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The first text node, if any. </dd></dl>
 
420
 
 
421
</div>
 
422
</div><p>
 
423
<a class="anchor" name="15cd56e871aaf9625b7f4fbedb97c764"></a><!-- doxytag: member="xmlpp::Element::add_child_text" ref="15cd56e871aaf9625b7f4fbedb97c764" args="(const Glib::ustring &amp;content=Glib::ustring())" -->
 
424
<div class="memitem">
 
425
<div class="memproto">
 
426
      <table class="memname">
 
427
        <tr>
 
428
          <td class="memname"><a class="el" href="classxmlpp_1_1TextNode.html">TextNode</a>* xmlpp::Element::add_child_text           </td>
 
429
          <td>(</td>
 
430
          <td class="paramtype">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>
 
431
          <td class="paramname"> <em>content</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>
 
432
          <td>&nbsp;)&nbsp;</td>
 
433
          <td width="100%"></td>
 
434
        </tr>
 
435
      </table>
 
436
</div>
 
437
<div class="memdoc">
 
438
 
 
439
<p>
 
440
Append a new text node. 
 
441
<p>
 
442
<dl compact><dt><b>Parameters:</b></dt><dd>
 
443
  <table border="0" cellspacing="2" cellpadding="0">
 
444
    <tr><td valign="top"></td><td valign="top"><em>content</em>&nbsp;</td><td>The text. This should be unescaped - see <a class="el" href="classxmlpp_1_1ContentNode.html#2e9978caa82eb11cadccd4d5fc4e690a">ContentNode::set_content()</a>. </td></tr>
 
445
  </table>
 
446
</dl>
 
447
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new text node. </dd></dl>
 
448
 
 
449
</div>
 
450
</div><p>
 
451
<a class="anchor" name="9be4234049fe13f2941d9c7a5dbc37e2"></a><!-- doxytag: member="xmlpp::Element::set_child_text" ref="9be4234049fe13f2941d9c7a5dbc37e2" args="(const Glib::ustring &amp;content)" -->
 
452
<div class="memitem">
 
453
<div class="memproto">
 
454
      <table class="memname">
 
455
        <tr>
 
456
          <td class="memname">void xmlpp::Element::set_child_text           </td>
 
457
          <td>(</td>
 
458
          <td class="paramtype">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>
 
459
          <td class="paramname"> <em>content</em>          </td>
 
460
          <td>&nbsp;)&nbsp;</td>
 
461
          <td width="100%"></td>
 
462
        </tr>
 
463
      </table>
 
464
</div>
 
465
<div class="memdoc">
 
466
 
 
467
<p>
 
468
Set the text of the first text node, adding one if necessary. 
 
469
<p>
 
470
This is a convenience method, meant as an alternative to iterating over all the child nodes to find the first suitable node then and setting the text directly. <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>content</em>&nbsp;</td><td>The text. This should be unescaped - see <a class="el" href="classxmlpp_1_1ContentNode.html#2e9978caa82eb11cadccd4d5fc4e690a">ContentNode::set_content()</a>. </td></tr>
 
473
  </table>
 
474
</dl>
 
475
 
 
476
</div>
 
477
</div><p>
 
478
<a class="anchor" name="af163cefbd08210bdb3c00598ef4164f"></a><!-- doxytag: member="xmlpp::Element::has_child_text" ref="af163cefbd08210bdb3c00598ef4164f" args="() const" -->
 
479
<div class="memitem">
 
480
<div class="memproto">
 
481
      <table class="memname">
 
482
        <tr>
 
483
          <td class="memname"><a class="el" href="classbool.html">bool</a> xmlpp::Element::has_child_text           </td>
 
484
          <td>(</td>
 
485
          <td class="paramname">          </td>
 
486
          <td>&nbsp;)&nbsp;</td>
 
487
          <td width="100%"> const</td>
 
488
        </tr>
 
489
      </table>
 
490
</div>
 
491
<div class="memdoc">
 
492
 
 
493
<p>
 
494
Discover whether one of the child nodes is a text node. 
 
495
<p>
 
496
This is a convenience method, meant as an alternative to iterating over all the child nodes and examining them directly. <dl class="return" compact><dt><b>Returns:</b></dt><dd>Whether this node has a child text node. </dd></dl>
 
497
 
 
498
</div>
 
499
</div><p>
 
500
<a class="anchor" name="f69479710a4ab4cd8e89703a20dd360e"></a><!-- doxytag: member="xmlpp::Element::add_child_comment" ref="f69479710a4ab4cd8e89703a20dd360e" args="(const Glib::ustring &amp;content)" -->
 
501
<div class="memitem">
 
502
<div class="memproto">
 
503
      <table class="memname">
 
504
        <tr>
 
505
          <td class="memname"><a class="el" href="classxmlpp_1_1CommentNode.html">CommentNode</a>* xmlpp::Element::add_child_comment           </td>
 
506
          <td>(</td>
 
507
          <td class="paramtype">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>
 
508
          <td class="paramname"> <em>content</em>          </td>
 
509
          <td>&nbsp;)&nbsp;</td>
 
510
          <td width="100%"></td>
 
511
        </tr>
 
512
      </table>
 
513
</div>
 
514
<div class="memdoc">
 
515
 
 
516
<p>
 
517
Append a new comment node. 
 
518
<p>
 
519
<dl compact><dt><b>Parameters:</b></dt><dd>
 
520
  <table border="0" cellspacing="2" cellpadding="0">
 
521
    <tr><td valign="top"></td><td valign="top"><em>content</em>&nbsp;</td><td>The text. This should be unescaped - see <a class="el" href="classxmlpp_1_1ContentNode.html#2e9978caa82eb11cadccd4d5fc4e690a">ContentNode::set_content()</a>. </td></tr>
 
522
  </table>
 
523
</dl>
 
524
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new comment node. </dd></dl>
 
525
 
 
526
</div>
 
527
</div><p>
 
528
<a class="anchor" name="3453ab385371f11c42ec459cbc2eb821"></a><!-- doxytag: member="xmlpp::Element::get_namespace_uri_for_prefix" ref="3453ab385371f11c42ec459cbc2eb821" args="(const Glib::ustring &amp;ns_prefix) const" -->
 
529
<div class="memitem">
 
530
<div class="memproto">
 
531
      <table class="memname">
 
532
        <tr>
 
533
          <td class="memname"><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::Element::get_namespace_uri_for_prefix           </td>
 
534
          <td>(</td>
 
535
          <td class="paramtype">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>
 
536
          <td class="paramname"> <em>ns_prefix</em>          </td>
 
537
          <td>&nbsp;)&nbsp;</td>
 
538
          <td width="100%"> const<code> [protected]</code></td>
 
539
        </tr>
 
540
      </table>
 
541
</div>
 
542
<div class="memdoc">
 
543
 
 
544
<p>
 
545
 
 
546
</div>
 
547
</div><p>
 
548
<hr>The documentation for this class was generated from the following file:<ul>
 
549
<li><a class="el" href="element_8h.html">element.h</a></ul>
 
550
<hr size="1"><address style="align: right;"><small>Generated on Tue Sep 18 10:36:19 2007 for libxml++ by&nbsp;
 
551
<a href="http://www.doxygen.org/index.html">
 
552
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
 
553
</body>
 
554
</html>