Skip to Content
0
Former Member
Nov 04, 2012 at 12:17 PM

Mapping query

28 Views

Hi folks ,

I am facing a mapping challenge :

My source XML is like :

<source>

<header1>

<itemgrp>

<fld1>X <fld1>

<fld2>Yfld2>

<item>

<id>ID1</id>

</item>

</itemgrp>

</header>

<header2>

<itemgrp>

<fld1>S</fld1>

<fld2>T</fld2>

<item>

<id>ID2</id>

</item>

</itemgrp>

</source>

My req is :

1. Can I generate unique ID's for every <itemgrp> and later on refer the id's generated in mapping for other target fields

2. Can I merge content of field id of <item> nodes in the document . and later on pass all in a string .

I am working on PI 7.0 . and would prefer going by standard functionality of XI , if possible would try to avoid Java / XSLT mapping

Kindly suggest ?

Regards ,

Nayan