XML File Reads

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
wjfitzgerald
Participant
Posts: 72
Joined: Tue Feb 05, 2008 4:38 am

XML File Reads

Post by wjfitzgerald »

Hi,

I am looking to read an XML file and convert it to a sequential flat file.
I presume this is possible using the XML input/output/tranform stages.
And am currently working to achieve this.

Just to save me the time, if it is not possible, could some one let me know please?

Any tips or hints would be gratefully recieved.

Thanks,

John Fitz
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

For Server it is typically:

Folder -> XML Input -> Transformer -> Sequential

Check Kim Duke's website under his Tips&Tricks page you'll find an XML Best Practices document that he is hosting for us. Invaluable reading.
-craig

"You can never have too many knives" -- Logan Nine Fingers
wjfitzgerald
Participant
Posts: 72
Joined: Tue Feb 05, 2008 4:38 am

Post by wjfitzgerald »

thank you, it's great to know that you are not chasing the impossible.

regards,

john fitz
John Fitz
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Also helps a great deal if you have an xsd for the xml file and have imported the metadata from it, rather than from the xml directly or typing the XPath Expressions by hand. FYI.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply