You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Java XML <ja...@hotmail.com> on 2000/11/02 21:27:34 UTC

Merging 2 xml's

Can any body tell me how to merge 2 xml's into one xml using xalan
for example
file one
========
<themes>
        <theme id="appl">
           <title xml:lang="nl">Toepassingen</title>
        </theme>
     </themes>


file two
========

<themes>
        <theme id="doc" />
        <theme id="appl">
           <title xml:lang="en">Applications</title>
        </theme>
     </themes>

Resulting file
==============

<themes>
        <theme id="doc" />
        <theme id="appl">
           <title xml:lang="nl">Toepassingen</title>
        <title xml:lang="en">Applications</title>
        </theme>
     </themes>


Thanx in advance
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Re: Merging 2 xml's

Posted by Gary L Peskin <ga...@firstech.com>.
Java XML wrote:
> 
> Can any body tell me how to merge 2 xml's into one xml using xalan
> for example

See http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge

Gary