Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML file and schema question... .

Status
Not open for further replies.

m0nty005

IS-IT--Management
Apr 24, 2004
27
US
I'm new to XML, so bear w/ me.

I've received a schema .xsd file from my company to use. Now my question is how do I go about creating a valid .xml file that follows this .xsd schema? Is there a tool that i can use to validate to do this?
FYI, my job is to create an application that will allow my managers to generate data to an xml file that falls the .xsd schema given.

Any help I do appreciate.. and currently I am using asp and sql server for development.
 
Generally, you would write code that produces XML that conforms with the XSD. This can be manual, or your IDE might do it for you (Optimal J can create Java classes for you).

You need to do some reading, plus you need to learn how your development environment creates XML. BTW: String concatenation should be a last resort. You'll run into all sorts of character set & entity problems doing it that way -- better to use an XML Document object of some kind.

Chip H.


____________________________________________________________________
Click here to learn Ways to help with Tsunami Relief
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top