[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Transforming multiple XML files into one file


Subject: Re: [xsl] Transforming multiple XML files into one file
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 13 Jun 2006 16:08:15 +0100

> 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


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords
xsl