Jump to content

XML & XSD


Guest Auguy

Recommended Posts

This is very basic question that I can't seem to get my mind around. Is there a way to generate an XML file using the an XSD file as a template for the XML entries? What I have is an existing XSD and data that I can retrieve form a database. Can I somehow match the fields in the database to the entries in the XSD and generate the proper XML text?Auguy

Link to comment
Share on other sites

  • 1 month later...
Guest prageorg
This is very basic question that I can't seem to get my mind around. Is there a way to generate an XML file using the an XSD file as a template for the XML entries? What I have is an existing XSD and data that I can retrieve form a database. Can I somehow match the fields in the database to the entries in the XSD and generate the proper XML text?Auguy
Actually, there are several wasy by which you can generate XML's from XSD. One possible option for you is to use JAXB(Java API for XML Binding). But keep in mind that, this is applicable only for Java users
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...