|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Creating a XML document as a java string
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








