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

Re: Transforming multiple XML files into one file

Subject: Re: Transforming multiple XML files into one file
From: Chad Chelius <cchelius@xxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2006 14:11:21 -0400
Re:  Transforming multiple XML files into one file
David,
can you show me an example XSLT of how you would combine multiple XML files using a target element within each file? Say the <document> element?
On Jun 13, 2006, at 11:08 AM, David Carlisle wrote:




The limitation that I see, here is.. You need to know how many XMLs that
you are planning to combine before..

That depens on what you mean by "know" and "before". It doesn't need to
be known before you compile the stylesheet, it does (like every aspect
of the result) need to be calculatable as some function of the input
before you start the transformation, but the explict number doesn't need
to appear anywhere.



 Since you can not define the XSL
nodeset variables dynamially at run time.

You don't need to do that a variable holding a nodeset can, as its name
implies hold a set of more than one node, in particular it can hold any
(finite, positive) number of document nodes.


David

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.