xsl-list
[Top] [All Lists]

RE: From 2 original xmls to 1.

2002-12-12 16:20:58
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(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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



<Prev in Thread] Current Thread [Next in Thread>