Xml output stage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Shukile
Participant
Posts: 6
Joined: Thu Oct 21, 2010 7:48 am

Xml output stage

Post by Shukile »

Hi,
Im trying to build a complex XML document and i've a problem :
I use two data tables to produce the XML Dcument.
one have a key and the other dont have
I'm sending the data to transformer and then to the XML OUTPUT.
im using chunk for the second table data and send the all XML_RECORD as a string.
in the output i get the tags with entity reference:

<req_seq_no>
25
</req_seq_no>

how can i avoid that ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Set the 'Data Element' to XML for the chunk data so it knows it is already XML and doesn't make that conversion.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Shukile
Participant
Posts: 6
Joined: Thu Oct 21, 2010 7:48 am

Post by Shukile »

Thank you very much, it helped :)
Post Reply