Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating an Xml File from an Schema.

 
Arulanand Dayalan
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick response. Will work based on this.

Regards,
Arul.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic