RE: [xsl] From 2 original xmls to 1.

Subject: RE: [xsl] From 2 original xmls to 1.
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 12 Dec 2002 23:20:58 -0000
> Hi again,
> can someone tell me if there is possible to merge 2 xml 
> files? I need to insert some tags from "B xml file" and 
> others from "A xml file" in a resulting "xml final file" It's 
> possible?
> 

Here is a stylesheet that merges two documents:

<merge xsl:version="1.0" 
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
  <xsl:copy-of select="document('a.xml')"/>
  <xsl:copy-of select="document('b.xml')"/>
</merge>  


Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread