sxml Namespace Reference


Classes

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

Typedefs

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

Enumerations

enum  XmlParseState {
  psNone, psElement, psAttribute, psAttrValue,
  psComment, psDocType, psText
}
 Possible states during parsing the XML file.
enum  Exception {
  eBadStream, eUtf8BomError, eXmlParseError, eMissingCloseTag,
  eUnexpectedCloseTag, eUnexpectedEof, eUnknownNodeType, eNodeIncomplete
}
 Exceptions that may occur while reading or writing the node (and its child nodes) from/to a stream. More...
enum  NodeType {
  ntUndefined, ntDocumentNode, ntDocTypeNode, ntCommentNode,
  ntElementNode, ntTextNode
}
 Node types. More...


Enumeration Type Documentation

enum sxml::Exception
 

Exceptions that may occur while reading or writing the node (and its child nodes) from/to a stream.

Enumerator:
eBadStream  the stream passed as parameter was bad
eUtf8BomError  incorrect UTF-8 byte order mark
eXmlParseError  general parsing error
eMissingCloseTag  parsing reached end of stream but remains incomplete (e.g. missing close tag)
eUnexpectedCloseTag  encountered close tag does not match current node name
eUnexpectedEof  unexpected end of stream
eUnknownNodeType  attempt to write a node of type ntUndefined
eNodeIncomplete  node is marked as incomplete

Definition at line 32 of file xmlNode.h.

enum sxml::NodeType
 

Node types.

Enumerator:
ntDocumentNode  <?xml ... ?>
ntDocTypeNode  <!DOCTYPE ... >
ntElementNode  <.../> or <...>...</...>

Definition at line 48 of file xmlNode.h.


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