[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: "Earl Bingham" <earl@xxxxxxxxx>
Date: Mon, 13 Sep 1999 19:38:48 -0700
xsl merge two documents
If you look at James Clarks latest XT parser
he implements the document function which
he states in his documentation will help with
multiple documents. Check out:

http://www.jclark.com/xml/xt.html

the document function, which allows multiple input documents, is
implemented;
support for multiple output documents is provided by an extension element.

I would be really interested in how this is implemented
with examples!

- Earl

Earl Bingham
B-Bop Associates Inc.
2 North First Street
San Jose, CA 95113
Voice: (408) 993-2140
FAX: (408) 993-2141
XML SIG: http://www.sdforum.org/sigs/xml/index.html


-----Original Message-----
From:	owner-xsl-list@xxxxxxxxxxxxxxxx [SMTP:owner-xsl-list@xxxxxxxxxxxxxxxx]
On Behalf Of Terris
Sent:	Monday, September 13, 1999 6:24 PM
To:	xsl-list@xxxxxxxxxxxxxxxx
Subject:	Merging two documents

Can I use XSLT to do this?

I want to add part of an XML document to another
XML document.

Example:

I want to merge documents 1 and 2.

Document 1:

<Book id="1"><Name>The wizard of OZ</Name></Book>
<Book id="2"><Name>Java Servlet Programming</Name></Book>
<Book id="3"><Name>John Coltrane Rage</Name></Book>

Document 2:

<BookList>
   <Book id="1"/>
   <Book id="2"/>
</BookList>

Target Document:

<BookList>
   <Book id="1"><Name>The wizard of OZ</Name></Book>
   <Book id="2"><Name>Java Servlet Programming</Name></Book>
</BookList>


Seems like you need a nested look-up.

Thanks!



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


 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.