OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Creating a XML document as a java string

[ Lists Home | Date Index | Thread Index ]
  • From: mparul@in.ibm.com
  • To: xml-dev@xml.org
  • Date: Mon, 14 Feb 2000 18:07:26 +0530


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
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

I want to get a string contaning
how do i do this???

Thanks in advance


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS