XML from XSD

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
myukassign
Premium Member
Premium Member
Posts: 238
Joined: Fri Jul 25, 2008 8:55 am

XML from XSD

Post by myukassign »

I have an XSD in hand. I would like to generate a table /xml defnition out of it.

Is it possible to do this using the XML Metadata importer tool in our Datastage?

I also want to generate a sample XML from the XSD. Is it also possible?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can certainly generate the XML metadata from the xsd, it's actually a better choice than trying to use the actual xml for that purpose.

As to generating a "sample XML" from the xsd, you'd need a third-party tool for that, something like XMLSpy perhaps. Or build a job to take "sample data" and generate the XML from it using the imported metadata.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply