How to convert xsd to xml using API ...?
Converting xsd to xml using API
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
naura paxRank #2,843 · 502 reputationPosted Jun 17, 2010, 4:30 AM EDT
As far as I know you can generate Sample XML documents from xsd you don't convert it,
one API has been mentioned in msdn "XmlSampleGenerator.WriteXml() " as in the given link:
http://msdn.microsoft.com/en-us/library/aa302296.aspx
please go through it for complete details.
Thanks.
Uday GaikwadRank #3,021 · 477 reputationPosted Jun 18, 2010, 12:12 AM EDT
Thanks naura,
With a sample generator API I can able to convert the xml to xsd but we have a ERP generated xsd, this xsd is not converted to xml by sample generator API,
I have attached the xsd file please look into that....