XML Single Line

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

eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Now, that's certainly strange. Is that also when you use our little 3 column example above with col1, col2 and col3?

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

You need to first do all your transformation in transformer with all the XML path description in the output columns of transformer(manually) then input that to XML stage and select a "Single row" option in transformation settings. Now put just one column with a big varchar length in XML output tab. Now everything will be in one row one column, use a transformer again and in output description provide '\' in description and dump in sequential file. Now your output sequential file will contain each XML document in one line. I did this long time back but using server jobs and I believe it would me similar for PX.
hi sam here
dstage2006
Premium Member
Premium Member
Posts: 116
Joined: Fri Jan 20, 2006 2:30 pm

Post by dstage2006 »

how to validate the xml schema definitions in datastage.

I mean i got the xsd which includes other xsds in it. out side the datastage box if you save all these xsds in one place and if you validate the main xsd which holds other xsd will be validated.

Where as in Datastage how can we validate these xsd which include other xsd (which refer other xsd) in an xsd.

Thanks in advance for your suggestions.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

:!: New question = new post, please. This has nothing to do with "XML Single Line".
-craig

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