zenXML
Straightforward C++ XML Processing
Classes | Namespaces | Functions
zenxml_parser.h File Reference

Convert an XML document object model (class XmlDoc) to and from a byte stream representation. More...

#include <cstdio>
#include "string_tools.h"
#include "zenxml_dom.h"
#include "zenxml_error.h"

Go to the source code of this file.

Classes

struct  zen::XmlParsingError
 Exception thrown due to an XML parsing error. More...

Namespaces

namespace  zen
 

The zenXML namespace.


Functions

std::string zen::serialize (const XmlDoc &doc, const std::string &lineBreak="\r\n", const std::string &indent=" ")
 Save XML document as a byte stream.
void zen::parse (const std::string &stream, XmlDoc &doc)
 Load XML document from a byte stream.

Detailed Description

Convert an XML document object model (class XmlDoc) to and from a byte stream representation.

 All Classes Namespaces Files Functions Variables