[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Merging two documents

Subject: Re: Merging two documents
From: Peter Flynn <peter@xxxxxxxxxxx>
Date: Tue, 10 Apr 2001 09:08:23 +0100
xsl merge documents same structure
At Tuesday, 10 April 2001, you wrote:

>Hi.
>
>I have two xml files which have the same structure (and the same DTD).
>Those two 
>files should be merged into one single xml file, so that the resulting 
>file will 
>still be valid (according to the DTD).

Without seeing the DTD, we can't answer this.
When you say "merge", do you mean merge right down to data content 
level,
so that the result says:

><root>
>   <section1>
>     <elem>
>       <name>13</name>
>       nested data for elem "1" + nested data for elem "3"
>     </elem>

or do you mean stopping short of the elements containing text, eg

><root>
>   <section1>
>     <elem>
>       <name>1</name>
>       <name>3</name>
>       nested data for elem "1"
>       nested data for elem "3"
>     </elem>

or do you mean interwoven, eg

><root>
>   <section1>
>     <elem>
>       <name>1</name>
>       nested data for elem "1"
>       <name>3</name>
>       nested data for elem "3"
>     </elem>

or what, exactly? "Merge" can mean a dozen different things.

///Peter







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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.