This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 2xml files -> one xml file


> my problem is, that i have 2 xml files with the same 
> structure but with
> different datas inside
> i can display both files but i cant save them as a different file...
> can someone plz help me and show me how to combine those both 
> xml files and get a 3rd one with both datas inside ?
> 

<output>
<xsl:copy-of select="document('document1.xml')/*/*"/>
<xsl:copy-of select="document('document2.xml')/*/*"/>
</output>

Mike Kay


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]