I am new to Datastage.I have to validate xml against xml schema.In XML guide, it is given that schemaLocation should be given as attribute in the root element of xml document.I have several doubts regarding this.
1)I cant alter the root element of xml input because it is generated by some other application.
2)how can the schemaLocation attribute refers the XSD(xml schema) imported to datastage.
one more issue is, In my xml schema,it refers to another schema as below
<xs:include schemaLocation="http://www.cust.com common.xsd>
I have gone through the topics posted and also the Best practices document.In bestpractices document,xml validation part is not given.In some topics in DSXchange, this problem was dicussed but I didnot understand them.I am using sequential stage to extract xml.
I will be very greatful to You ,if you can provide the detailed procedure to validate xml.
Please help me.
![Sad :(](./images/smilies/icon_sad.gif)