Problem with XML output

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
ramsdanda
Participant
Posts: 8
Joined: Thu Feb 09, 2006 2:23 am

Problem with XML output

Post by ramsdanda »

Hi,
Anybody help me regarding how to populate data using xml output stage. need the hierarcy like this:
<Customer>
<Name></Name>
</Customer>
<Legal_Entity>
<party_id>
<party_name>
</party_id>
</party_name>
<Legal_Entity>
Here i nedd the Customer <Name> only at header part,i mean only once at top of Hierarcy, can u please help me how can implement the metadata for this logic.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do you have an xsd for this? Import the metadata via the Manager and it will create the XPath expressions for you that you need to create it.
-craig

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