Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need to concat the target nodes in xslt.

987727Dec 10 2013 — edited Dec 10 2013

Hi Gurus,

In a transformation, I need to check the condition on some 8-10 nodes and then concat them and map it to a target node. the target node should have the concated value of all the 8-10 source nodes.

For example:

Source Nodes:

<firstName>abc</firstname>

<secondName>efg</secondName>

<lastName>hij</lastName>

<countryCode>+91</countryCode>

<areaCode>1111</areaCode>

<phone>123456789</phone>

<pincode>456789<pincode>

Conditions to check

if firstname != xyz and second name != fff

then

concat(firstname and secondname)

if second name != fff and lastname != eee

then concat(firstname and secondname and lastname)

if countrycode != +92

then countrycode = +91

Target Node:

the target node is only one and it should contain

<info>abcefghij - +91 - 1111123456789 - 456789 </info>

The above conditions have to be verified and then the mapping has to be done after concatenating of the source nodes.

Kindly help, help is greatly appreciated.

Thanks & Regards,

Venky.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2014
Added on Dec 10 2013
2 comments
537 views