A Kick-Start to SAX with C++, Part 2
In the first article, you saw what SAX is, what the Microsoft COM implementation of SAX is, and how you can write a simple parser of a XML document. During the first article, I highlighted a couple of times that you can only register one handler type (content handler, error handler, or DTD handler) at a time. Although this may suffice for some applications, it may be a drawback for others.
A Kick-Start to SAX with C++, Part 3
This is the third and last article of this series. In the first article, you saw what SAX is, what the Microsoft COM implementation of SAX is, and how to write a simple parser of a XML document. In the second article, you saw how to work around the limitation of having a single handler type registered to the XML reader at a time. In both articles, you ignored anything related to errors. Now, you will see how to implement some simple error handling. Before going any further, I recommend that you read the first and second parts, if you haven't already.
C++ XML the easy way!
This article is a successor to my previous article Wrapper class for IXMLDDOMDocument. The reason that it's published as a different article and not an update is that, it's in no way compatible with the previous one. There are different classes and functions. Also the main difference is that this wrapper works directly with XML pointers without first parsing the XML tree, which leads to a significant speed improvement.
C/C++ developers: Fill your XML toolbox
Designed for C and C++ programmers who are new to XML development, this article gives an overview of tools to assemble in preparation for XML development.
How to load a tree view with a large XML file
This article show you how to display very large XML in a tree view, and also shows you how to incorporate the MS XML parser in your app.
Make the most of Xerces - C++, Part 1
This two-part article offers an introduction to the Xerces-C++ XML library. Part 1 explains how to link the library into applications written in Linux and Windows. Ample code demonstrates parsing with the SAX API, and a sample application shows you how to create a bar graph in ASCII art. In Part 2, I'll demonstrate how to load, manipulate, or synthesize a DOM document, and you'll see how to create the same bar graph using Scalable Vector Graphics (SVG). C++ programmers who read these articles should be able to easily add XML parsing and processing capabilities to their applications.
Processing XML with Xerces and the DOM
It's rare to write an application these days and not run into the use of XML as a data interchange format. Perl, Java, Python, C#, Ruby, JavaScript, and PHP all have good XML processing libraries. Where's the love for C++ applications? It's in Xerces, a capable and open source library. Ethan McCallum shows how to use Xerces and C++ to process, manipulate, search, and write valid
XML class for processing and building simple XML documents
Link CMarkup into your VC++ app and avoid complex XML tools and dependencies. Often times you don't want to invest in learning a complex XML tool to implement a little bit of XML processing in your application. The CMarkup class can be added to your Visual C++ project to navigate, modify and create new documents, supporting data interchange via XML elements.
Network Magazine Provides information Technology (IT) and network managers with strategic analysis, views of emerging technologies and product reports....
subscribe now