use Jakarta Commons Digester to read an XML block

J

jron

Hi,
I am using the Jakarta Commons Digester andI need to read an XML block.

E.g. From the following XML

<address-book>
<person id="1" category="acquaintance">
<name>Gonzo</name>
<email type="business">[email protected]</email>
<data><personal>123</personal><public>100</public></data>
</person>
</address-book>

I need to get the full data string
(<personal>123</personal><public>100</public>) that has XML tags in it.

How can I do it with Digester?

Thanks,
Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top