C++ World

C++ Resources, Tips,
Documentation, Examples,
HOWTO's, FAQ's, Tools
Libraries, Frameworks, IDE's

 
© 2005,2009 C++ World - All rights reserved - webdesign.arttina
C++, Sockets, SysProg, Libraries, Examples, Tools, Compilers, IDE, STL, XML
Google
FAQ Sockets Socket Library Software Engineering Sysprog Examples Books
 
Home
C++
The C Language
STL
BOOST
GNU
GNU C Compiler
GNU Debugger
GNU Profiler
HP C++ Compiler
DDD
Eclipse
Curses
XML
X11
KDevelop
MS Visual Studio
Tutorials

XML Parsing with C++

XML Parsing can be well done with the Apache Xerces framework. Very well designed .

Depending on the type of application, one can choose between a tree based model called DOM, and a model suitable for very fast proessing - SaX.

Tree based processing with DOM

DOM parses the XML code into a tree. The application can fetch all or part of this tree, retieve data and change the tree. The new tree can be serialised again.

Iterator based processing with SaX

SaX does not parse the XML code at one, but iterates through the stream of XML tags and offers the application programmer an interator to walk through the XML Code. The application can supply patterns to the SaX library on which it wants to operate on or extract further information ( attributes ).

Documentation

Apache constantly work on their framework as well as on the documentation.


Franz Brandel Contact Legal Statement Sitemap C++ World