|  | 
| 
 Public Member Functions | 
|  | Document (const Glib::ustring &version="1.0") | 
| virtual | ~Document () | 
| Glib::ustring | get_encoding () const | 
| Dtd * | get_internal_subset () const | 
| void | set_internal_subset (const Glib::ustring &name, const Glib::ustring &external_id, const Glib::ustring &system_id) | 
| Element * | get_root_node () const | 
|  | Return the root node. 
 | 
| Element * | create_root_node (const Glib::ustring &name, const Glib::ustring &ns_uri=Glib::ustring(), const Glib::ustring &ns_prefix=Glib::ustring()) | 
|  | Creates the root node. 
 | 
| Element * | create_root_node_by_import (const Node *node, bool recursive=true) | 
|  | Creates a root node by importing the node from another document, without affecting the source node. 
 | 
| CommentNode * | add_comment (const Glib::ustring &content) | 
|  | Append a new comment node. 
 | 
| void | write_to_file (const Glib::ustring &filename, const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to a file. 
 | 
| void | write_to_file_formatted (const Glib::ustring &filename, const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to a file. 
 | 
| Glib::ustring | write_to_string (const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to the memory. 
 | 
| Glib::ustring | write_to_string_formatted (const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to the memory. 
 | 
| void | write_to_stream (std::ostream &output, const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to a std::ostream. 
 | 
| void | write_to_stream_formatted (std::ostream &output, const Glib::ustring &encoding=Glib::ustring()) | 
|  | Write the document to a std::ostream. 
 | 
| virtual void | set_entity_declaration (const Glib::ustring &name, XmlEntityType type, const Glib::ustring &publicId, const Glib::ustring &systemId, const Glib::ustring &content) | 
|  | Add an Entity declaration to the document. 
 | 
| _xmlDoc * | cobj () | 
|  | Access the underlying libxml implementation. 
 | 
| const _xmlDoc * | cobj () const | 
|  | Access the underlying libxml implementation. 
 | 
| 
 Protected Member Functions | 
| _xmlEntity * | get_entity (const Glib::ustring &name) | 
|  | Retrieve an Entity. 
 | 
| 
 Friends | 
| class | DomParser | 
| class | SaxParser | 
| 
 Classes | 
| class | Init |