XML Output issue

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
sandeepsreedhar
Participant
Posts: 15
Joined: Mon Dec 21, 2009 12:49 am
Location: India

XML Output issue

Post by sandeepsreedhar »

Hi,

I have to create an xml of the below format.


<wd:Applicant_ID>CNVTOOL1</wd:Applicant_ID>
<wd:First_Name>Zsuzsanna</wd:First_Name>
<wd:Last_Name>Marton</wd:Last_Name>.

I am using XML output stage and input column description to set the open and close tag names. However I am not able to create in the above format to append wd: to the attribute names. I'm able to create in the below format


<Applicant_ID>CNVTOOL1</Applicant_ID>
<First_Name>Zsuzsanna</First_Name>
<Last_Name>Marton</Last_Name>.

Is there a way to bring character ':' to the tagnames? I'm using Datastage 9.1

Appreciate your help on this
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... do you still need help with this? Wondering why it is marked as Resolved without a reply.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: XML Output issue

Post by ray.wurlod »

sandeepsreedhar wrote: I have to create an xml of the below format.
Why?

Have "they" given you specifics of the namespace(s) that you have to use?
Last edited by ray.wurlod on Mon Jun 09, 2014 7:23 pm, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sandeepsreedhar
Participant
Posts: 15
Joined: Mon Dec 21, 2009 12:49 am
Location: India

Post by sandeepsreedhar »

Yes namespace resolved the issue.
Thanks for your support.
Post Reply