xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Shipman <shi...@nmt.edu>
Subject Very much a newbie needing an example
Date Wed, 30 Jan 2002 01:26:07 GMT
Hello everyone. I could not seem to find a
Xerces-C Users list so I am posting here.
If there is a more appropriate place to post,
please point me in that direction.

I am very new to Xerces and XML in general.
 From what I gather, SAX 1 and 2 are different
types of parsers (the benefits of one over
the other I'm not sure. I'm assuming 2 is
newer) and DOM is a way of representing a
SAX-parsed document in memory.

I've looked through the samples, but I'm not
quite finding what I'm looking for. I just
need a very simple C++ example of parsing
an XML file and writing an XML file. My
XML file will be very simple. Something
like this:

    <name>item 1</name>
       <name>subitem 1</name>
       <attrib>an attribute</attrib>
       <anotherattrib>another attribute</anotherattrib>

I need to be able to read and write files of
this format. If there are already simple examples
that exist to do this, please point me in that
direction and I'm sorry if you get this question
a lot.

I'd most appreciate any help you can give me.

Thanks in advance,

Jeff "Shippy" Shipman     E-Mail: shippy@nmt.edu
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message