XMLDOM Xerces Wrapper 0.9

XMLDOM Xerces Wrapper is an object oriented wrapper for Xerces-C++ with automatic memory management.
XMLDOM Xerces Wrapper is an object oriented wrapper for Xerces-C++ with automatic memory management.

Examples

The following examples demonstrate how simple it is to work with XML DOM.

Load a XML document into the DOM:

int main( int argc, char* argv[] )
{
// Get an implementation which is supporting "LS" (Load Save)
DomImplementation impl = DomImplementationRegistry::getInstance().getDomImplementation( DomString( "LS" ) );
assert( ! impl.isNull() );

DomLSParser parser = impl.createLSParser( DomImplementation::ModeSynchronous, DomImplementation::AnySchema );

DomDocument doc = parser.parseURI( DomString( "d:\test.xml" ) );

DomElement docElement = doc.getDocumentElement();

displayElement( docElement, 0 );

std::cout

last updated on:
July 29th, 2008, 10:39 GMT
price:
FREE!
homepage:
xmldom.sourceforge.net
license type:
LGPL (GNU Lesser General Public License) 
developed by:
Tobias Erbsland
category:
ROOT \ Text Editing&Processing \ Markup
XMLDOM Xerces Wrapper
Download Button

In a hurry? Add it to your Download Basket!

user rating 7

2.7/5
 

0/5

Rate it!

Add your review!

SUBMIT