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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML from XSD Schema's

Status
Not open for further replies.

SiJP

Programmer
May 8, 2002
708
GB
As an analyst, I am always keen for other's point of view in how they go about doing things. It's my way of learning.

So here's a situation, which i would appreciate your thoughts on:

You, as an XML developer, are given an XSD by a third party organisation. You've got to Import and Export data from your 'database' using MSXML, conforming to this schema.

At the moment, *my* way of doing this would be to get XMLSpy to generate a sample xml doc, create an XSLT which maps the xml output against fields in my db, and use ADO to transform the database data into a transformed xml doc. And THEN worry about validation.

What methods, or approaches would you use to go from XSD to XML?

With regards,

------------------------
Hit any User to continue
 
leoliang,

I did find that commercial tools are essential for this task, and the one I use is MapForce (Altova).

This allows you to visually specify a data source (like an MS access Database) and a target such as an XSD. You are then given the option to produce either an XSLT or C# / Java code that does the translation for you!

Good luck,

------------------------
Hit any User to continue
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top