Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 21st, 2004, 08:48 AM
Registered User
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default merge two xml file and make new xml using xslt

 i have to use xslt for merge two xml file and make a new one.
here my two files...
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="merge.xsl"?>
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="merge.xsl"?>
version="1.0"><xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:for-each select="document('m1.xml')/rec-data1/rec|
<xsl:sort select="@date1"/><rec date1="{@date1}">
you give me the full updated sourcecode ...
I am newbie in xml/xsl....pl. give me the full sourcecode/change in all three files....and also let me know how i can make a new merge xml document.....



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifiying XML File using XSLT brianlan XSLT 1 October 2nd, 2007 03:14 PM
importing XML file in to xslt ashyabhi_hp XSLT 2 September 22nd, 2007 11:15 PM
XSLT transformation from XML buffer and XSL file sundaramkumar Javascript 1 September 5th, 2005 02:11 AM
translate xml using xslt in a batch file? hhali XSLT 3 May 8th, 2005 12:48 PM
Merge XML files into a xml file using xslt lxu XML 4 November 6th, 2003 06:01 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.