Re: [xsl] Reading multiple documents with wild cards

Subject: Re: [xsl] Reading multiple documents with wild cards
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Fri, 01 Jul 2011 11:39:32 +0200
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


-- Gerrit Imsieke Geschdftsf|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.imsieke@xxxxxxxxx, http://www.le-tex.de

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

Geschdftsf|hrer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vvckler

Current Thread