#include <tinyxml.h>
Inheritance diagram for TiXmlDeclaration::

| Public Methods | |
| TiXmlDeclaration () | |
| Construct an empty declaration. | |
| TiXmlDeclaration (const std::string &version, const std::string &encoding, const std::string &standalone) | |
| Construct. | |
| const std::string & | Version () | 
| Version. Will return empty if none was found. | |
| const std::string & | Encoding () | 
| Encoding. Will return empty if none was found. | |
| const std::string & | Standalone () | 
| Is this a standalone document? | |
        <?xml version="1.0" standalone="yes"?>
    TinyXml will happily read or write files without a declaration, however. There are 3 possible attributes to the declaration: version, encoding, and standalone.
Note: In this version of the code, the attributes are handled as special cases, not generic attributes, simply because there can only be at most 3 and they are always the same.
 1.2.10 written by Dimitri van Heesch,
 © 1997-2001
1.2.10 written by Dimitri van Heesch,
 © 1997-2001