cancel
Showing results for 
Search instead for 
Did you mean: 

How to know under which node(node name) my field is present..??

Former Member
0 Kudos

Hi

i m beginner to XI.

My source structure is as fallows...

mt_source

->node1

->field1

->field2

->node2

>field3

>field4

In my mapping i would like to pass the name of the node where my element is present.

eg: if i'm mapping field1 to some target field then i would like concat the field1 with nodename under which my field is present i.e, node1(field1node1) to target field.

Is it possible..??

Thanks is advance.

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

I think this is possible by use of JAVA Mapping either by use of SAX / DOM Parser.

http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10794/adx04paj.htm

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Harini

In graphical mapping the name of the node is not stored. But if you have such a requirement then you can do a contact with a constant in graphical mapping and the value for constant is the node name.

Taking your example

field1 Conact Constant (Node1 Field1) -> Target

Thanks

Gaurav