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
Parsing XML file via XML Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 26
- Joined: Wed Jun 20, 2007 1:13 am
- Location: Chennai
Parsing XML file via XML Stage
Regards,
Sasikala V C
Sasikala V C
It should only fail if that level of the hierarchy is required by the xsd and you are performing validation. Remove any validation checking if that is the case.
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>