#include <doc.h>
Public Member Functions | |
Document () | |
Default ctor. | |
Document (const Dv::Xml::Node::Ref &ref) throw (Dv::Xml::Exception) | |
Construct a Dv::Xml::Document out of a (copy of a) Dv::Xml::Node object. | |
Document (const Dv::Util::File &file) throw (Dv::Xml::Exception) | |
Parse a Dv::Xml::Document from a file. | |
Document (const std::string &name, const std::string &content) throw (Dv::Xml::Exception) | |
Create a Dv::Xml::Document with a root labeled with given name and content. | |
Document (const std::string &name) throw (Dv::Xml::Exception) | |
Create a Dv::Xml::Document with a root labeled with given name. | |
Document (const char *pc, size_t size) throw (Dv::Xml::Exception) | |
Parse a Dv::Xml::Document from an array of characters . | |
Document (const std::string &stylesheet, Dv::Xml::Document &doc) throw (Dv::Xml::Exception) | |
Create a Dv::Xml::Document by applying an XSLT stylesheet to another Document. | |
virtual | ~Document () |
Destructor. | |
Dv::Xml::Document & | parse (const char *data, size_t size) throw (Dv::Xml::Exception) |
Parse a Dv::Xml::Document from an array of characters . | |
Dv::Xml::Document & | parse (const std::string &filenm) throw (Dv::Xml::Exception) |
Parse a Dv::Xml::Document from a filenm. | |
Document & | operator= (const Dv::Xml::Node::Ref &ref) throw (Dv::Xml::Exception) |
Set root. | |
void | root (const Dv::Xml::Node::Ref &ref) throw (Dv::Xml::Exception) |
Set root. | |
Dv::Xml::Node::Ref | root () const |
Get root Dv::Xml::Node of Document. | |
operator Dv::Xml::Node::Ref () const | |
Convert to reference to root of document. | |
const std::string & | encoding () const |
Get encoding of Document. | |
Dv::Xml::Document & | encoding (const std::string &enc) |
Set encoding of Document. | |
bool | valid (const std::string &dtd="") |
Validate document w.r.t. | |
Dv::Xml::Node::Ref | select (const std::string &path) const throw (Dv::Xml::Exception) |
Select node after path from document. |
Definition at line 20 of file doc.h.
|
Default ctor.
|
|
Construct a Dv::Xml::Document out of a (copy of a) Dv::Xml::Node object.
|
|
Parse a Dv::Xml::Document from a file.
|
|
Create a Dv::Xml::Document with a root labeled with given name and content.
|
|
Create a Dv::Xml::Document with a root labeled with given name.
|
|
Parse a Dv::Xml::Document from an array of characters .
|
|
Create a Dv::Xml::Document by applying an XSLT stylesheet to another Document.
|
|
Destructor.
|
|
Parse a Dv::Xml::Document from an array of characters . The result replaces the current contents of this document.
|
|
Parse a Dv::Xml::Document from a filenm. The result replaces the current contents of this document.
|
|
Set root.
|
|
Set root.
|
|
Get root Dv::Xml::Node of Document.
Referenced by operator Dv::Xml::Node::Ref(). |
|
Convert to reference to root of document.
Definition at line 117 of file doc.h. References operator Dv::Xml::Node::Ref(), and root(). Referenced by operator Dv::Xml::Node::Ref(). |
|
Get encoding of Document. Default is "ISO-8859-1".
|
|
Set encoding of Document.
|
|
Validate document w.r.t. DTD.
|
|
Select node after path from document.
|
dvxml-0.1.4 | [19 September, 2003] |