Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSL Help XSL HelpTo: NULL Date: 10/3/2006 4:16:00 PM
Hello,
I have a XML as below. I want the first "<fullPathName>" tag to go inside
the first "<departmentKey>" tag and similarly the second "<fullPathName>" tag
to go inside the second "<departmentKey>" tag..
Can someone help me with a XSL for this?.
XML
****
<command>
<departmentKey>
<groupId>5586</groupId>
<name>testaug2_2k6</name>
</departmentKey>
<departmentKey>
<groupId>5586</groupId>
<name>testddd1</name>
</departmentKey>
<fullPathName>testaug2_2k6</fullPathName>
<fullPathName>testddd1</fullPathName>
</command>
****************
Expected Result after applying XSL is given below:
<command>
<departmentKey>
<groupId>5586</groupId>
<name>testaug2_2k6</name>
<fullPathName>testaug2_2k6</fullPathName>
</departmentKey>
<departmentKey>
<groupId>5586</groupId>
<name>testddd1</name>
<fullPathName>testddd1</fullPathName>
</departmentKey>
</command>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
