xml data leading and trailing spaces between the tags.

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
userds
Participant
Posts: 19
Joined: Mon Feb 14, 2005 1:39 pm

xml data leading and trailing spaces between the tags.

Post by userds »

My XMLOUTPUT Stage is creating xml document as below.

<transactionid>
00
</transactionid>
<tracknumber>
0
</tracknumber>
<key>
N/A
</key>

But the data contains leading and trailing spaces between the tags. Please let me know which option i need to check or uncheck in order to avoid these spaces between the tags. In the Transformer derivations i have used trim fucntion for all the column derivations so i am not passing any spaces for data.

Thank You.
userds
Participant
Posts: 19
Joined: Mon Feb 14, 2005 1:39 pm

xml data leading and trailing spaces between the tags.

Post by userds »

Can any one help me out regarding this.

Thanks.
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
I think it's in the output under the options tab in the generate fomatted section there is an indentation
also check the new line style.

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply