Add Existing node to another node's Child node

Hi there,

I have following XML and i want to transform it to my desire XML using XSLT ,So I need help

Given is My Input XML

<?xml version = '1.0'?>


274845
55002


928265
59897
LG
LAMBERT TRUCKING INC
PH


957858
59940
LG
SONNY DAVIS INC
MA

957858
59940
LG
SONNY DAVIS INC
PH




With the use of XSLT i want to generate Output XML like this.

<?xml version="1.0"?>


274845
55002

LG
A P SUPPLY CO
PH
MA





I have tried below XSLT but it is not giving desire result








































Please help ....

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories