[XSL-LIST Mailing List Archive Home]
[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
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>
On Jun 13, 2006, at 11:08 AM, David Carlisle wrote:
The limitation that I see, here is.. You need to know how many
you are planning to combine before..
That depens on what you mean by "know" and "before". It doesn't
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
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
implies hold a set of more than one node, in particular it can hold
(finite, positive) number of document nodes.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format