Hi ALL,
We are generating a XML file reading the data from the oracle database and using the XML output stage in the data stage. we are importing the meta data from the XSD which has one root element and has 2 child elements which are defined as choice in the xSD. We are importing both the choice elements.
The problem is we are getting the XML generated with the repetition of headers in spite of selecting the non key element as the key other than the header elements.
Is there any option or way to avoid the header repetition.
Thanks.
Header repeatition in the XML file
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How is it not a dsXchange item? They are using ds to build xml..... isn't that a good thing?
.....hard to say exactly what your issue is, but put the "key" on an element (column) that is on the lowest level repeating node. It's usually and incorrect position of the "key" [it doesn't really mean a 'key' ...it simply indicates the repeating node] that results in duplicate headers and a not well formed document.
Ernie
.....hard to say exactly what your issue is, but put the "key" on an element (column) that is on the lowest level repeating node. It's usually and incorrect position of the "key" [it doesn't really mean a 'key' ...it simply indicates the repeating node] that results in duplicate headers and a not well formed document.
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>

