473,804 Members | 3,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Xerces C++ parser book.

I am new to xml parsing concept. can anyone suggest good books on
Xerces C++ parsers.
API documentation provided by apache is very raw and i do not find it
very useful.

May 31 '07 #1
3 5940
Dhirendra Singh wrote:
I am new to xml parsing concept. can anyone suggest good books on
Xerces C++ parsers.
In the XML world, anything on paper is almost by definition obsolete.
I'd suggest checking the tutorials at http://www.ibm.com/xml to see if
they have one that covers Xerces-C++.

It's been a long time since I looked at C++ version of Xerces, but I
believe its API is very similar to that of the Java version, which is
essentially the industry-standard APIs for XML (DOM and SAX), plus JAXP
(the Java API for XML Parsing, essentially an extension of the SAX APIs
to support DOM parsers, which in fact was derived largely _from_
Xerces), plus a few custom APIs for more advanced functions like
manipulating schemas. In other words, if you're writing something
straightforward , you can probably take any standards-based sample, plug
in Xerces, and get it running with at most minor tweaks.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
May 31 '07 #2
Joe Kesselman wrote:
I'd suggest checking the tutorials at http://www.ibm.com/xml
The introductory page there
(http://www.ibm.com/developerworks/xml/newto/index.html) points to three
basic tutorials:

* Make the most of Xerces-C++, Part 1
* Make the most of Xerces-C++, Part 2
* Serialize XML data

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
May 31 '07 #3
Hi,

Dhirendra Singh <dh*********@gm ail.comwrites:
I am new to xml parsing concept. can anyone suggest good books on
Xerces C++ parsers.
API documentation provided by apache is very raw and i do not find it
very useful.
You may find examples in the Xerces-C++ distribution helpful to get
started. For example the DOMPrint example shows how to print an XML
document using DOM. SAX2Print shows the same for SAX.

Also you may want to consider using a data binding tool to simplify
access to the data stored in XML. URL to one such tool (based on
Xerces-C++) is in my signature.
hth,
-boris

--
Boris Kolpackov
Code Synthesis Tools CC
http://www.codesynthesis.com
Open-Source, Cross-Platform C++ XML Data Binding
Jun 1 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
4275
by: bugbear | last post by:
Subject pretty much says it all. I'd like to parse XML (duh!) using Xerces (because its fast, and reliable, and comprehensive, and supports lots of features). I'd like to conform to standards as much as possible, so I'd like to call Xerces under the JAXP API. I'd like to validate the XML against a DTD, so that errors are flagged up to the user, and I can transcribe
0
1777
by: BODIN | last post by:
I have an XML document, which is actually physically stored in 2 separated files. doc1.xml and doc2.xml I NEED a WAY FOR THIS SIMPLE NEED : XML file splitted into two physical files, and use of XML Schema.
1
3824
by: Hans Bijvoet | last post by:
Hello, I'm trying to parse a HTML document with the SAX parser from Xerces. The parser throws a fatal error when attribute values in the document are not surrounded by quotes? How can I prevent this parser's behaviour? Greetings, Hans
2
3962
by: Cigdem | last post by:
Hello, I am trying to parse the XML files that the user selects(XML files are on anoher OS400 system called "wkdis3"). But i am permenantly getting that error: Directory0: \\wkdis3\ROOT\home Canonicalpath-Directory4: \\wkdis3\ROOT\home\bwe\ You selected the file named AAA.XML getXmlAlgorithmDocument(): IOException Not logged in
4
1712
by: M Arora | last post by:
Hi All I am using Xerces parser to convert my xml to the output given below and for this i am using the xslt. How shall i create href attribute in xerces parser? When i am using MSDOM parser the output is whats requied. But if Xerces parser is used then no attribute withe name href is created. Can any one suggest what need to to be done.
3
3405
by: Matt | last post by:
Hello, Summary: Where can one download a Xerces-C (XML pardser) dynamic library file (.DLL file) for Windows (Win98/WinNT/Win2k/WinXP/Win2003, including server flavors; don't need to support pre-98) without having to build the library from source? We posed this question to the Xerces-users email list, but have yet to
1
4751
by: Nuno | last post by:
Hello, I'm looking for a way of validating/parsing the xsd file (schema), i only been able of validating the xml file with the corresponding schema, but what i want is only validate the xsd file, to check if the schema is valid. I'm using Xerces-C++ and the only thing that i found is a way of parsing the xml file with the xml schema like this:
9
3023
by: mstilli | last post by:
Hi, I am trying to use schema for server side validation using xerces to catch the validation errors. validating this XML: <Content4> <textarea13></textarea13> <binaryobject3></binaryobject3>
1
2016
by: Blocksom | last post by:
I am new to Java and XML and I am trying to solve a problem that has bothered for few days. I have download the parser Xerser-1.4.3 and jdk1.5.0_06I install the JDK first and test it, it works.By the way,the location of JDK is:C:\Program Files\Java\jdk1.5.0_06; Then I install the parser to the follow location:C:\Program Files\Java\xerces-1_4_3, using this command right under the C drive. jar xf xerces-j-bin.1.4.3.zip This creates a...
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10310
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5515
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.