Unable to parse a XML file

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
karthikgk0705
Premium Member
Premium Member
Posts: 45
Joined: Tue Aug 29, 2006 2:59 am
Location: Bangalore

Unable to parse a XML file

Post by karthikgk0705 »

I have an XML file,

<Customer>
<Customer_ad1>
<Customer_com/>
<Customer_ad2>
<Customer_com>
.
.
.
</Customer_com>
</Customer_ad2>
<Customer>

From this file i need to have both the customer_ad1 & customer_ad2 in my target file(Both are subtags of customer and are maxoccur = unbounded, but I am getting only t first one. Any suggestion are appreciated.
VCInDSX
Premium Member
Premium Member
Posts: 223
Joined: Fri Apr 13, 2007 10:02 am
Location: US

Re: Unable to parse a XML file

Post by VCInDSX »

Could you provide some additional information about your job, please?

What stages are being used? You could use simple flow notations
(E.g. XMLInput ==> Transform ==> XMLOutput)
What are the intermediate stages involved?
What is the target stage (Text File, XML File, DB)...?
Are you binding XSD/Schemas while reading?
Are you using appropriate XSLT expresssions?

Also, in your sample, where does <Customer_ad1> end/terminate?

Thanks,
-V
Post Reply