xslt - Merging two XML files -


i'm trying merge 2 xml files:

1st xml:

<data>   <text>     <description>this description</description>     <title>this title</title>   </text>   <text>     <description>this <other>is other description</other></description>     <title>this title</title>   </text> </data> 

2nd xml:

<data>   <text>     <description>this <tag>description</tag></description>   </text>   <text>     <description>this <tag>my other description</tag></description>   </text> </data> 

ouput wanted :

<data>   <text>     <description>this <tag>description</tag></description>     <title>this title</title>   </text>   <text>     <description>this <other>is <tag>my other description</tag></other></description>     <title>this title</title>   </text> </data> 

i used , adapted xslt given here : how compare , merge 2 xml using xslt

but can't add other , tag description.

thanks in advance.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -