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

merging document from filelist

Subject: merging document from filelist
From: "Breygin, Victor" <Victor.Breygin@xxxxxxxxxxxxxxx>
Date: Fri, 17 Dec 2004 17:11:41 -0500
merging document
Hello folks,

can anyone advise how the list of multiple documents can be merged in one
"super document"?

suppose we have a list of files  a.xml, b.xml, c.xml ... etc. 
I would like to have a document node that is a union of all the input files,
something like

<xsl:variable name="super_doc" select="document(a.xml) | document(b.xml) |
document(c.xml) ..." />

I have trouble concatenating a list of arbitrary length (number of files),
should I use a recursive call-template for doing this?

thanks a lot for your help!

cheers,
victor

Victor Breygin
Consultant, Integrated Customs Systems,
Canada Border Services Agency
1-(613) 952-7077

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.