A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
Converting String to an XML
Joined: Mar 25, 2010
Dec 15, 2010 12:41:32
Can someone please tell how to convert a
to an XML document. The converted XML should confirm to the given XSD. Is there any sample code that I can refer to?
Joined: Oct 14, 2005
Dec 15, 2010 13:15:10
So if I have a String like this:
String data = "Don't Cry For Me, Argentina";
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?
It is sorta covered in the
JavaRanch Style Guide
subject: Converting String to an XML
XML b/w Servlets?
How to remove first line from an String containing XML?
How to convert string to xml file in android
how to parse a xml String?
Web Service XML
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015