Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem in XML to XSD Conversion

Hi all,

I have converted a<b> XML to XSD</b> using the Stylus Studio.While Converting it was generating the multiple XSD's for that single XML file.After Generatiing the main XSD, and then i have checked and validated.

While validating it was throwing the error like GetAirCraft/GetAirCraft.xsd:2,102: FATAL ERROR: The attribute 'xmlns:xsd' is already used in element 'xsd:schema'.

so i removed the second shema which is same as <b>xmlns:xsd=""</b> and validated again it is refering some other sub XSD's with the same error. So i removed that schema again for all XSD's and validated all the XSD's it said that well formed.

Finally i have imported all the XSD's in to IR and then in SOURCE path of the each External Definitions(XSD) given the same name.

All XSD's are having the External References also.But i could not get the Structure of XSD what i need to achieve.

Can anyone help me to proceed further.

Thanks and Regards,

Kamal Kumar

Not what you were looking for? View more on this topic or Ask a question