Hi Javier,
have a look at the DOMPrint sample; it shows how to create a parser, get the DOM tree representation of a document, and print it to the console.

Alberto

Javier Gálvez Guerrero wrote:
Hi,

I am a complete newbie and I would like to get some help from the people
used to Xerces C++ or anybody who could help me.

I want to parse XML files into a C++ structure using DOM representation. I
know that with SAX, in order to parse the files, startElement, endElement and
characters interfaces can be overriden and told what to do depending on the
read tag. I have searched for similar information, if the same interface
must be overriden when using DOM or which methods I should override or
create, but I have not found anything.

I would like someone to tell me briefly (or as deep as you want/can...) what
I should do.


Thanks a lot, your help is much appreciated,

Javi


Reply via email to