xmlNode.h File Reference

Simple class to read (parts of) and write an XML file. More...

#include <iostream>
#include <vector>
#include <map>
#include <stack>

Go to the source code of this file.

Namespaces

namespace  sxml

Classes

class  sxml::NodeSearch
 Node search handle. More...
class  sxml::XmlNode
 Class that represents one XML node. More...

Typedefs

typedef map< string, string > sxml::NodeAttributes
typedef map< string, string
>::iterator 
sxml::NodeAttributesIterator
typedef vector< XmlNode * > sxml::NodeChildren
typedef vector< XmlNode
* >::iterator 
sxml::NodeChildrenIterator

Enumerations

enum  sxml::Exception {
  sxml::eBadStream, sxml::eUtf8BomError, sxml::eXmlParseError, sxml::eMissingCloseTag,
  sxml::eUnexpectedCloseTag, sxml::eUnexpectedEof, sxml::eUnknownNodeType, sxml::eNodeIncomplete
}
 Exceptions that may occur while reading or writing the node (and its child nodes) from/to a stream. More...
enum  sxml::NodeType {
  ntUndefined, sxml::ntDocumentNode, sxml::ntDocTypeNode, ntCommentNode,
  sxml::ntElementNode, ntTextNode
}
 Node types. More...


Detailed Description

Simple class to read (parts of) and write an XML file.

The input is supposed to be compatible with ASCII-7 (e.g. UTF-8, ANSI or ISO-8859-1).

The code may be used freely in any way. It is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Author:
Denis Martin

Definition in file xmlNode.h.


Generated on Sun Dec 10 18:47:09 2006 for XmlNode by  doxygen 1.4.6