Hi,

I think the easiest way would be to do as you describe - create the string from the SAX events.

Gareth

Xiaofan Zhou wrote:

Hi All,
I have a need to do the following:
Suppose I have an element A that has a sub structures (e.g it has child elements which could again have child elements), I need my parser to simply return a string [or a chunk of characters in the character(....) interface] for the structure of element A (e.g, that is, the whole thing including all the tags) , I don't want to receive the SAX events for the subelements. Is there an easy way to do this using the SAX parser in Xerces? I know I can construct the string myself using all the SAX events for the subelements, but I thought it might better done inside the SAX parser.
Thanks in advance.
Frank


--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to