In XSLT 2.0 you can test whether a document is available using the
doc-available() function. This will allow you to write a recursive template
that tests whether a document is available, and if so, loads it and then
calls itself to process the next document.
In XSLT 1.0 you could implement doc-available as an extension function, or
write a URIResolver that returns some recognisable dummy document when no
more documents are available.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: KrustyDerClown [mailto:KrustyDerClown(_at_)gmx(_dot_)de]
Sent: 30 July 2005 15:24
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XSLT - Many Input One Output
Hello,
i have multiple sources (XML files) and want only one output
file (one BIG
XML file). The number of the XML input files for the
transformation is
various in any cycle. The structure is always the same.
Inputfiles: commitlog.xml, commitlog_1.xml, commitlog_2.xml,
and so on. (The
number of the files are various) (the xml files are splitted
automatically
from the program which creates this xml files).
This "merge" process should happen with a XSL stylesheet.
Is that possible with XSLT ?
I look at the "document()" funktion, but for that function i
need the exact
name of the XML file which will included.
Have you any workaround for me ?
Thank you for your support.
Greets Oliver
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--