File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Creating an Xml File from an Schema. 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 "Creating an Xml File from an Schema." Watch "Creating an Xml File from an Schema." New topic
Author

Creating an Xml File from an Schema.

Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Hi All,

I have a text file which contains the data seperated by Delimiters. This needs to be converted to xml file. I also have the schema based on which the xml file needs to be created. I was searching for long time, but still i cant find a approach to do this. Can any one suggest how to proceed to accomplish this.

Thanks in Advance.

Regards,
Arul.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18992
    
    8

Something like this. As for the schema, just write your code to output XML that conforms to it. Serializers don't generally validate the XML they are serializing.
Arulanand Dayalan
Ranch Hand

Joined: Aug 10, 2005
Posts: 124
Thanks for the quick response. Will work based on this.

Regards,
Arul.
 
jQuery in Action, 2nd edition
 
subject: Creating an Xml File from an Schema.