jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes Converting String to an XML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Converting String to an XML" Watch "Converting String to an XML" New topic

Converting String to an XML

Shruti Sharma
Ranch Hand

Joined: Mar 25, 2010
Posts: 55

Can someone please tell how to convert a String to an XML document. The converted XML should confirm to the given XSD. Is there any sample code that I can refer to?

Thank you,
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

So if I have a String like this:

you are looking for pre-written code which will convert that into XML based on an arbitrary schema?

I expect your actual requirements differ from that somewhat. Hopefully with more detail. Would you like to clarify?
I agree. Here's the link: http://aspose.com/file-tools
subject: Converting String to an XML
jQuery in Action, 3rd edition