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:

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

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: [EMAIL PROTECTED]
Computer Science Major    ICQ: 1786493
New Mexico Institute of Mining and Technology
Homepage: http://www.nmt.edu/~shippy


---------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to