[Home] [By Thread] [By Date] [Recent Entries]
Hi,
I am using Apache's Xerces1.0.0 ( merged with XML4j from IBM) parser. I am
not able to figure out a way to get the xml document in the form of a java
string.
In the DOMParser class, i can add element, add child etc. Now if i want to
send this document to someone, i need to get a java string representing
this xml document, how do i get this?
Another question is how can i get a part of an xml document as a java
string. E.G. in a xml document like
<abcd>
<def>
temporary
</def>
</abcd>
I want to get a string contaning
<def>temporary</def>
how do i do this???
Thanks in advance
Parul
|

Cart



