xsl-list
[Top] [All Lists]

Re: [xsl] Reading multiple documents with wild cards

2011-07-01 04:39:55
http://www.saxonica.com/documentation/sourcedocs/collections.xml

Does that answer your question?

The order in which the documents are read may be OS-specific, so you might want to sort the documents in a wildcard collection by some criterion such as the base name.

And the semantics of the select argument is implementation-dependent.

Gerrit


On 2011-07-01 11:35, Jacobus Reyneke wrote:
Good day,

Just curious to know if there is a way to load multiple documents in
XSLT using a wild card. In fairy land this would be something like:
<xsl:for-each select="document('*.xml')">
.... do some cool stuff with each doc
</xsl:for-each>

A post at http://www.biglist.com/lists/xsl-list/archives/200108/msg00545.html
indicates that it cannot be done, but this post is 10 years old.

Searching the web for this turns out to be a little tricky, since
there are many results on 'document', 'xslt' and 'wildcard', but
completely unrelated to this type of problem.

Best regards,
Jacobus

--~------------------------------------------------------------------
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>
--~--


--
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit(_dot_)imsieke(_at_)le-tex(_dot_)de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>