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::Document Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.1 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
14
<li><a href="dirs.html"><span>Directories</span></a></li>
18
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
19
<li><a href="annotated.html"><span>Class List</span></a></li>
20
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
21
<li><a href="functions.html"><span>Class Members</span></a></li>
24
<a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1Document.html">Document</a></div>
25
<h1>xmlpp::Document Class Reference</h1><!-- doxytag: class="xmlpp::Document" --><!-- doxytag: inherits="xmlpp::NonCopyable" -->Represents an XML document in the DOM model.
26
<a href="#_details">More...</a>
28
Inheritance diagram for xmlpp::Document:<p><center><img src="classxmlpp_1_1Document__inherit__graph.jpg" border="0" usemap="#xmlpp_1_1Document__inherit__map" alt="Inheritance graph"></center>
29
<map name="xmlpp_1_1Document__inherit__map">
30
<area href="classxmlpp_1_1NonCopyable.html" shape="rect" coords="5,7,168,31" alt="">
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classxmlpp_1_1Document-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#8c5c6692e195dcf3aee88dc492f9efed">Document</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> &version="1.0")</td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#77c35c594fc9995970ae9c4f9d77496b">~Document</a> ()</td></tr>
39
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#147105d16f69fd9b6efa87f559615971">get_encoding</a> () const</td></tr>
41
<tr><td class="mdescLeft"> </td><td class="mdescRight"><dl class="return" compact><dt><b>Returns:</b></dt><dd>The encoding used in the source from which the document has been loaded. </dd></dl>
42
<a href="#147105d16f69fd9b6efa87f559615971"></a><br></td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Dtd.html">Dtd</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#a7213c2edec51f2b80b84dbed8cd4c0c">get_internal_subset</a> () const</td></tr>
45
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#714dc6c330ae6e00fb285606b8b849a4">set_internal_subset</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &external_id, 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> &system_id)</td></tr>
47
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#c5c58a795d67253820996cf031e28ca5">get_root_node</a> () const</td></tr>
49
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the root node. <a href="#c5c58a795d67253820996cf031e28ca5"></a><br></td></tr>
50
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#8552403b511567241856148a6040be23">create_root_node</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name, const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &ns_uri=<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 <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &ns_prefix=<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>())</td></tr>
52
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates the root node. <a href="#8552403b511567241856148a6040be23"></a><br></td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1Element.html">Element</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#8085d5e40537e2a674063cbddb39f0b8">create_root_node_by_import</a> (const <a class="el" href="classxmlpp_1_1Node.html">Node</a> *node, <a class="el" href="classbool.html">bool</a> recursive=true)</td></tr>
55
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a root node by importing the node from another document, without affecting the source node. <a href="#8085d5e40537e2a674063cbddb39f0b8"></a><br></td></tr>
56
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classxmlpp_1_1CommentNode.html">CommentNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#2d5ebd0f41215d54b9c96dd4ddb49ede">add_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> &content)</td></tr>
58
<tr><td class="mdescLeft"> </td><td class="mdescRight">Append a new comment node. <a href="#2d5ebd0f41215d54b9c96dd4ddb49ede"></a><br></td></tr>
59
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#dbbcae29bde29501f3dfff71f2e81da2">write_to_file</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> &filename, 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> &encoding=<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>
61
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to a file. <a href="#dbbcae29bde29501f3dfff71f2e81da2"></a><br></td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#e54075502d81e9d8448e6820bc16eb34">write_to_file_formatted</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> &filename, 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> &encoding=<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>
64
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to a file. <a href="#e54075502d81e9d8448e6820bc16eb34"></a><br></td></tr>
65
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#b63344d932c309062769fd98585e9bc1">write_to_string</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> &encoding=<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>
67
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to the memory. <a href="#b63344d932c309062769fd98585e9bc1"></a><br></td></tr>
68
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#c1246acf8c7b51855e9eb12eecefa294">write_to_string_formatted</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> &encoding=<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>
70
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to the memory. <a href="#c1246acf8c7b51855e9eb12eecefa294"></a><br></td></tr>
71
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#55e593694bdcf67f667f1dbe52cd0794">write_to_stream</a> (<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__ostream.html">std::ostream</a> &output, 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> &encoding=<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>
73
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to a <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#ga3">std::ostream</a>. <a href="#55e593694bdcf67f667f1dbe52cd0794"></a><br></td></tr>
74
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#dd90b2d2d0a837df3f3daec6bccaad2c">write_to_stream_formatted</a> (<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1basic__ostream.html">std::ostream</a> &output, 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> &encoding=<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>
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write the document to a <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#ga3">std::ostream</a>. <a href="#dd90b2d2d0a837df3f3daec6bccaad2c"></a><br></td></tr>
77
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#d56a99bd883672ba5eac51a545fada40">set_entity_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> &name, <a class="el" href="namespacexmlpp.html#0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a> type, 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> &publicId, 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> &systemId, 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> &content)</td></tr>
79
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add an Entity declaration to the document. <a href="#d56a99bd883672ba5eac51a545fada40"></a><br></td></tr>
80
<tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlDoc * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#1ebb73b9ac51ca929bfd38f359964a59">cobj</a> ()</td></tr>
82
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#1ebb73b9ac51ca929bfd38f359964a59"></a><br></td></tr>
83
<tr><td class="memItemLeft" nowrap align="right" valign="top">const _xmlDoc * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#474a51e3ee6251ef85435ece4ff88f37">cobj</a> () const</td></tr>
85
<tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#474a51e3ee6251ef85435ece4ff88f37"></a><br></td></tr>
86
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
87
<tr><td class="memItemLeft" nowrap align="right" valign="top">_xmlEntity * </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#6772b76ee685c3755f8a19ce19f48f35">get_entity</a> (const <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &name)</td></tr>
89
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve an Entity. <a href="#6772b76ee685c3755f8a19ce19f48f35"></a><br></td></tr>
90
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
91
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#e7e7880266cdc1fcd455c018c64404ff">DomParser</a></td></tr>
93
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Document.html#d804f0de41137fa28564abe53c8d27b1">SaxParser</a></td></tr>
95
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
96
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>Init</b></td></tr>
99
<hr><a name="_details"></a><h2>Detailed Description</h2>
100
Represents an XML document in the DOM model.
102
<hr><h2>Constructor & Destructor Documentation</h2>
103
<a class="anchor" name="8c5c6692e195dcf3aee88dc492f9efed"></a><!-- doxytag: member="xmlpp::Document::Document" ref="8c5c6692e195dcf3aee88dc492f9efed" args="(const Glib::ustring &version="1.0")" -->
104
<div class="memitem">
105
<div class="memproto">
106
<table class="memname">
108
<td class="memname">xmlpp::Document::Document </td>
110
<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> & </td>
111
<td class="paramname"> <em>version</em> = <code>"1.0"</code> </td>
112
<td> ) </td>
113
<td width="100%"><code> [explicit]</code></td>
123
<a class="anchor" name="77c35c594fc9995970ae9c4f9d77496b"></a><!-- doxytag: member="xmlpp::Document::~Document" ref="77c35c594fc9995970ae9c4f9d77496b" args="()" -->
124
<div class="memitem">
125
<div class="memproto">
126
<table class="memname">
128
<td class="memname">virtual xmlpp::Document::~Document </td>
130
<td class="paramname"> </td>
131
<td> ) </td>
132
<td width="100%"><code> [virtual]</code></td>
142
<hr><h2>Member Function Documentation</h2>
143
<a class="anchor" name="147105d16f69fd9b6efa87f559615971"></a><!-- doxytag: member="xmlpp::Document::get_encoding" ref="147105d16f69fd9b6efa87f559615971" args="() const" -->
144
<div class="memitem">
145
<div class="memproto">
146
<table class="memname">
148
<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::Document::get_encoding </td>
150
<td class="paramname"> </td>
151
<td> ) </td>
152
<td width="100%"> const</td>
159
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The encoding used in the source from which the document has been loaded. </dd></dl>
165
<a class="anchor" name="a7213c2edec51f2b80b84dbed8cd4c0c"></a><!-- doxytag: member="xmlpp::Document::get_internal_subset" ref="a7213c2edec51f2b80b84dbed8cd4c0c" args="() const" -->
166
<div class="memitem">
167
<div class="memproto">
168
<table class="memname">
170
<td class="memname"><a class="el" href="classxmlpp_1_1Dtd.html">Dtd</a>* xmlpp::Document::get_internal_subset </td>
172
<td class="paramname"> </td>
173
<td> ) </td>
174
<td width="100%"> const</td>
184
<a class="anchor" name="714dc6c330ae6e00fb285606b8b849a4"></a><!-- doxytag: member="xmlpp::Document::set_internal_subset" ref="714dc6c330ae6e00fb285606b8b849a4" args="(const Glib::ustring &name, const Glib::ustring &external_id, const Glib::ustring &system_id)" -->
185
<div class="memitem">
186
<div class="memproto">
187
<table class="memname">
189
<td class="memname">void xmlpp::Document::set_internal_subset </td>
191
<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> & </td>
192
<td class="paramname"> <em>name</em>, </td>
195
<td class="paramkey"></td>
197
<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> & </td>
198
<td class="paramname"> <em>external_id</em>, </td>
201
<td class="paramkey"></td>
203
<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> & </td>
204
<td class="paramname"> <em>system_id</em></td><td> </td>
209
<td></td><td></td><td width="100%"></td>
219
<a class="anchor" name="c5c58a795d67253820996cf031e28ca5"></a><!-- doxytag: member="xmlpp::Document::get_root_node" ref="c5c58a795d67253820996cf031e28ca5" args="() const" -->
220
<div class="memitem">
221
<div class="memproto">
222
<table class="memname">
224
<td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Document::get_root_node </td>
226
<td class="paramname"> </td>
227
<td> ) </td>
228
<td width="100%"> const</td>
235
Return the root node.
237
This function does _not_ create a default root node if it doesn't exist. <dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the root node if it exists, 0 otherwise. </dd></dl>
241
<a class="anchor" name="8552403b511567241856148a6040be23"></a><!-- doxytag: member="xmlpp::Document::create_root_node" ref="8552403b511567241856148a6040be23" args="(const Glib::ustring &name, const Glib::ustring &ns_uri=Glib::ustring(), const Glib::ustring &ns_prefix=Glib::ustring())" -->
242
<div class="memitem">
243
<div class="memproto">
244
<table class="memname">
246
<td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Document::create_root_node </td>
248
<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> & </td>
249
<td class="paramname"> <em>name</em>, </td>
252
<td class="paramkey"></td>
254
<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> & </td>
255
<td class="paramname"> <em>ns_uri</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>
258
<td class="paramkey"></td>
260
<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> & </td>
261
<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> </td>
266
<td></td><td></td><td width="100%"></td>
273
Creates the root node.
275
<dl compact><dt><b>Parameters:</b></dt><dd>
276
<table border="0" cellspacing="2" cellpadding="0">
277
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The node's name. </td></tr>
278
<tr><td valign="top"></td><td valign="top"><em>ns_uri</em> </td><td>The namespace URI. A namspace declaration will be added to this node, because it could not have been declared before. </td></tr>
279
<tr><td valign="top"></td><td valign="top"><em>ns_prefix</em> </td><td>The namespace prefix to associate with the namespace. If no namespace prefix is specified then the namespace URI will be the default namespace. </td></tr>
282
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the new root node </dd></dl>
286
<a class="anchor" name="8085d5e40537e2a674063cbddb39f0b8"></a><!-- doxytag: member="xmlpp::Document::create_root_node_by_import" ref="8085d5e40537e2a674063cbddb39f0b8" args="(const Node *node, bool recursive=true)" -->
287
<div class="memitem">
288
<div class="memproto">
289
<table class="memname">
291
<td class="memname"><a class="el" href="classxmlpp_1_1Element.html">Element</a>* xmlpp::Document::create_root_node_by_import </td>
293
<td class="paramtype">const <a class="el" href="classxmlpp_1_1Node.html">Node</a> * </td>
294
<td class="paramname"> <em>node</em>, </td>
297
<td class="paramkey"></td>
299
<td class="paramtype"><a class="el" href="classbool.html">bool</a> </td>
300
<td class="paramname"> <em>recursive</em> = <code>true</code></td><td> </td>
305
<td></td><td></td><td width="100%"></td>
312
Creates a root node by importing the node from another document, without affecting the source node.
314
<dl compact><dt><b>Parameters:</b></dt><dd>
315
<table border="0" cellspacing="2" cellpadding="0">
316
<tr><td valign="top"></td><td valign="top"><em>node</em> </td><td>The node to copy and insert as the root node of the document </td></tr>
317
<tr><td valign="top"></td><td valign="top"><em>recursive</em> </td><td>Whether to import the child nodes also. Defaults to true. </td></tr>
320
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the new root node </dd></dl>
324
<a class="anchor" name="2d5ebd0f41215d54b9c96dd4ddb49ede"></a><!-- doxytag: member="xmlpp::Document::add_comment" ref="2d5ebd0f41215d54b9c96dd4ddb49ede" args="(const Glib::ustring &content)" -->
325
<div class="memitem">
326
<div class="memproto">
327
<table class="memname">
329
<td class="memname"><a class="el" href="classxmlpp_1_1CommentNode.html">CommentNode</a>* xmlpp::Document::add_comment </td>
331
<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> & </td>
332
<td class="paramname"> <em>content</em> </td>
333
<td> ) </td>
334
<td width="100%"></td>
341
Append a new comment node.
343
<dl compact><dt><b>Parameters:</b></dt><dd>
344
<table border="0" cellspacing="2" cellpadding="0">
345
<tr><td valign="top"></td><td valign="top"><em>content</em> </td><td>The text. This should be unescaped - see <a class="el" href="classxmlpp_1_1ContentNode.html#2e9978caa82eb11cadccd4d5fc4e690a">ContentNode::set_content()</a>. </td></tr>
348
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The new comment node. </dd></dl>
352
<a class="anchor" name="dbbcae29bde29501f3dfff71f2e81da2"></a><!-- doxytag: member="xmlpp::Document::write_to_file" ref="dbbcae29bde29501f3dfff71f2e81da2" args="(const Glib::ustring &filename, const Glib::ustring &encoding=Glib::ustring())" -->
353
<div class="memitem">
354
<div class="memproto">
355
<table class="memname">
357
<td class="memname">void xmlpp::Document::write_to_file </td>
359
<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> & </td>
360
<td class="paramname"> <em>filename</em>, </td>
363
<td class="paramkey"></td>
365
<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> & </td>
366
<td class="paramname"> <em>encoding</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> </td>
371
<td></td><td></td><td width="100%"></td>
378
Write the document to a file.
380
<dl compact><dt><b>Parameters:</b></dt><dd>
381
<table border="0" cellspacing="2" cellpadding="0">
382
<tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td></td></tr>
383
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
389
<a class="anchor" name="e54075502d81e9d8448e6820bc16eb34"></a><!-- doxytag: member="xmlpp::Document::write_to_file_formatted" ref="e54075502d81e9d8448e6820bc16eb34" args="(const Glib::ustring &filename, const Glib::ustring &encoding=Glib::ustring())" -->
390
<div class="memitem">
391
<div class="memproto">
392
<table class="memname">
394
<td class="memname">void xmlpp::Document::write_to_file_formatted </td>
396
<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> & </td>
397
<td class="paramname"> <em>filename</em>, </td>
400
<td class="paramkey"></td>
402
<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> & </td>
403
<td class="paramname"> <em>encoding</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> </td>
408
<td></td><td></td><td width="100%"></td>
415
Write the document to a file.
417
The output is formatted by inserting whitespaces, which is easier to read for a human, but may insert unwanted significant whitespaces. Use with care ! <dl compact><dt><b>Parameters:</b></dt><dd>
418
<table border="0" cellspacing="2" cellpadding="0">
419
<tr><td valign="top"></td><td valign="top"><em>filename</em> </td><td></td></tr>
420
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
426
<a class="anchor" name="b63344d932c309062769fd98585e9bc1"></a><!-- doxytag: member="xmlpp::Document::write_to_string" ref="b63344d932c309062769fd98585e9bc1" args="(const Glib::ustring &encoding=Glib::ustring())" -->
427
<div class="memitem">
428
<div class="memproto">
429
<table class="memname">
431
<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::Document::write_to_string </td>
433
<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> & </td>
434
<td class="paramname"> <em>encoding</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>
435
<td> ) </td>
436
<td width="100%"></td>
443
Write the document to the memory.
445
<dl compact><dt><b>Parameters:</b></dt><dd>
446
<table border="0" cellspacing="2" cellpadding="0">
447
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
453
<a class="anchor" name="c1246acf8c7b51855e9eb12eecefa294"></a><!-- doxytag: member="xmlpp::Document::write_to_string_formatted" ref="c1246acf8c7b51855e9eb12eecefa294" args="(const Glib::ustring &encoding=Glib::ustring())" -->
454
<div class="memitem">
455
<div class="memproto">
456
<table class="memname">
458
<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::Document::write_to_string_formatted </td>
460
<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> & </td>
461
<td class="paramname"> <em>encoding</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>
462
<td> ) </td>
463
<td width="100%"></td>
470
Write the document to the memory.
472
The output is formatted by inserting whitespaces, which is easier to read for a human, but may insert unwanted significant whitespaces. Use with care ! <dl compact><dt><b>Parameters:</b></dt><dd>
473
<table border="0" cellspacing="2" cellpadding="0">
474
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
477
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The written document. </dd></dl>
481
<a class="anchor" name="55e593694bdcf67f667f1dbe52cd0794"></a><!-- doxytag: member="xmlpp::Document::write_to_stream" ref="55e593694bdcf67f667f1dbe52cd0794" args="(std::ostream &output, const Glib::ustring &encoding=Glib::ustring())" -->
482
<div class="memitem">
483
<div class="memproto">
484
<table class="memname">
486
<td class="memname">void xmlpp::Document::write_to_stream </td>
488
<td class="paramtype"><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_1basic__ostream.html">std::ostream</a> & </td>
489
<td class="paramname"> <em>output</em>, </td>
492
<td class="paramkey"></td>
494
<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> & </td>
495
<td class="paramname"> <em>encoding</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> </td>
500
<td></td><td></td><td width="100%"></td>
507
Write the document to a <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#ga3">std::ostream</a>.
509
<dl compact><dt><b>Parameters:</b></dt><dd>
510
<table border="0" cellspacing="2" cellpadding="0">
511
<tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>A reference to the stream in which the document will be written </td></tr>
512
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
515
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>This method is much less efficient than write_to_string if you want to dump the document to a buffer or the standard output. Writing to a fstream is almost as fast as write_to_file </dd></dl>
519
<a class="anchor" name="dd90b2d2d0a837df3f3daec6bccaad2c"></a><!-- doxytag: member="xmlpp::Document::write_to_stream_formatted" ref="dd90b2d2d0a837df3f3daec6bccaad2c" args="(std::ostream &output, const Glib::ustring &encoding=Glib::ustring())" -->
520
<div class="memitem">
521
<div class="memproto">
522
<table class="memname">
524
<td class="memname">void xmlpp::Document::write_to_stream_formatted </td>
526
<td class="paramtype"><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_1basic__ostream.html">std::ostream</a> & </td>
527
<td class="paramname"> <em>output</em>, </td>
530
<td class="paramkey"></td>
532
<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> & </td>
533
<td class="paramname"> <em>encoding</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> </td>
538
<td></td><td></td><td width="100%"></td>
545
Write the document to a <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#ga3">std::ostream</a>.
547
The output is formatted by inserting whitespaces, which is easier to read for a human, but may insert unwanted significant whitespaces. Use with care ! <dl compact><dt><b>Parameters:</b></dt><dd>
548
<table border="0" cellspacing="2" cellpadding="0">
549
<tr><td valign="top"></td><td valign="top"><em>output</em> </td><td>A reference to the stream in which the document will be written </td></tr>
550
<tr><td valign="top"></td><td valign="top"><em>encoding</em> </td><td>If not provided, UTF-8 is used </td></tr>
553
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>See write_to_stream </dd></dl>
557
<a class="anchor" name="d56a99bd883672ba5eac51a545fada40"></a><!-- doxytag: member="xmlpp::Document::set_entity_declaration" ref="d56a99bd883672ba5eac51a545fada40" args="(const Glib::ustring &name, XmlEntityType type, const Glib::ustring &publicId, const Glib::ustring &systemId, const Glib::ustring &content)" -->
558
<div class="memitem">
559
<div class="memproto">
560
<table class="memname">
562
<td class="memname">virtual void xmlpp::Document::set_entity_declaration </td>
564
<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> & </td>
565
<td class="paramname"> <em>name</em>, </td>
568
<td class="paramkey"></td>
570
<td class="paramtype"><a class="el" href="namespacexmlpp.html#0fa47f0fb103cf9ea460a2fef3f5be49">XmlEntityType</a> </td>
571
<td class="paramname"> <em>type</em>, </td>
574
<td class="paramkey"></td>
576
<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> & </td>
577
<td class="paramname"> <em>publicId</em>, </td>
580
<td class="paramkey"></td>
582
<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> & </td>
583
<td class="paramname"> <em>systemId</em>, </td>
586
<td class="paramkey"></td>
588
<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> & </td>
589
<td class="paramname"> <em>content</em></td><td> </td>
594
<td></td><td></td><td width="100%"><code> [virtual]</code></td>
601
Add an Entity declaration to the document.
603
<dl compact><dt><b>Parameters:</b></dt><dd>
604
<table border="0" cellspacing="2" cellpadding="0">
605
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the entity that will be used in an entity reference. </td></tr>
606
<tr><td valign="top"></td><td valign="top"><em>type</em> </td><td>The type of entity. </td></tr>
607
<tr><td valign="top"></td><td valign="top"><em>publicId</em> </td><td>The public ID of the subset. </td></tr>
608
<tr><td valign="top"></td><td valign="top"><em>systemId</em> </td><td>The system ID of the subset. </td></tr>
609
<tr><td valign="top"></td><td valign="top"><em>content</em> </td><td>The value of the Entity. In entity reference substitutions, this is the replacement value. </td></tr>
615
<a class="anchor" name="1ebb73b9ac51ca929bfd38f359964a59"></a><!-- doxytag: member="xmlpp::Document::cobj" ref="1ebb73b9ac51ca929bfd38f359964a59" args="()" -->
616
<div class="memitem">
617
<div class="memproto">
618
<table class="memname">
620
<td class="memname">_xmlDoc* xmlpp::Document::cobj </td>
622
<td class="paramname"> </td>
623
<td> ) </td>
624
<td width="100%"></td>
631
Access the underlying libxml implementation.
636
<a class="anchor" name="474a51e3ee6251ef85435ece4ff88f37"></a><!-- doxytag: member="xmlpp::Document::cobj" ref="474a51e3ee6251ef85435ece4ff88f37" args="() const" -->
637
<div class="memitem">
638
<div class="memproto">
639
<table class="memname">
641
<td class="memname">const _xmlDoc* xmlpp::Document::cobj </td>
643
<td class="paramname"> </td>
644
<td> ) </td>
645
<td width="100%"> const</td>
652
Access the underlying libxml implementation.
657
<a class="anchor" name="6772b76ee685c3755f8a19ce19f48f35"></a><!-- doxytag: member="xmlpp::Document::get_entity" ref="6772b76ee685c3755f8a19ce19f48f35" args="(const Glib::ustring &name)" -->
658
<div class="memitem">
659
<div class="memproto">
660
<table class="memname">
662
<td class="memname">_xmlEntity* xmlpp::Document::get_entity </td>
664
<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> & </td>
665
<td class="paramname"> <em>name</em> </td>
666
<td> ) </td>
667
<td width="100%"><code> [protected]</code></td>
676
The entity can be from an external subset or internally declared. <dl compact><dt><b>Parameters:</b></dt><dd>
677
<table border="0" cellspacing="2" cellpadding="0">
678
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Then name of the entity to get. </td></tr>
681
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to the libxml2 entity structure. </dd></dl>
685
<hr><h2>Friends And Related Function Documentation</h2>
686
<a class="anchor" name="e7e7880266cdc1fcd455c018c64404ff"></a><!-- doxytag: member="xmlpp::Document::DomParser" ref="e7e7880266cdc1fcd455c018c64404ff" args="" -->
687
<div class="memitem">
688
<div class="memproto">
689
<table class="memname">
691
<td class="memname">friend class <a class="el" href="classxmlpp_1_1DomParser.html">DomParser</a><code> [friend]</code> </td>
701
<a class="anchor" name="d804f0de41137fa28564abe53c8d27b1"></a><!-- doxytag: member="xmlpp::Document::SaxParser" ref="d804f0de41137fa28564abe53c8d27b1" args="" -->
702
<div class="memitem">
703
<div class="memproto">
704
<table class="memname">
706
<td class="memname">friend class <a class="el" href="classxmlpp_1_1SaxParser.html">SaxParser</a><code> [friend]</code> </td>
716
<hr>The documentation for this class was generated from the following file:<ul>
717
<li><a class="el" href="document_8h.html">document.h</a></ul>
718
<hr size="1"><address style="align: right;"><small>Generated on Mon Mar 5 15:24:37 2007 for libxml++ by
719
<a href="http://www.doxygen.org/index.html">
720
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>