Parsing XML file via XML Stage
Posted: Wed Sep 17, 2014 1:54 am
Hi All,
We are facing an issue while reading an XML in datastage v8.5 via XML Stage. We have XSD that shows the tree view of how the XML document should look. Say there are 5 hierarchy level defined in XSD and each hierarchy level has its own number of columns. The XML we tried to read is not having one hierarchy level.So we are not able to read the whole XML. If we add the hierarchy level with empty tags simply like <open></close> in the XML file then we able to read it. Is there any possible to read an XML file if the XML file is missing one hierarchy level which is mentioned in XSD ? Please share your thoughts
Thanks
Sasikala
We are facing an issue while reading an XML in datastage v8.5 via XML Stage. We have XSD that shows the tree view of how the XML document should look. Say there are 5 hierarchy level defined in XSD and each hierarchy level has its own number of columns. The XML we tried to read is not having one hierarchy level.So we are not able to read the whole XML. If we add the hierarchy level with empty tags simply like <open></close> in the XML file then we able to read it. Is there any possible to read an XML file if the XML file is missing one hierarchy level which is mentioned in XSD ? Please share your thoughts
Thanks
Sasikala