Re: [xsl] Processing a list of non-xml files in XSLT?

Subject: Re: [xsl] Processing a list of non-xml files in XSLT?
From: "Liam R. E. Quin liam@xxxxxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Aug 2024 20:19:36 -0000
On Wed, 2024-08-14 at 20:12 +0000, Mark Giffin m1879@xxxxxxxxxxxxx
wrote:
> B Changing the subject a bit, but what is this syntax
> '?select=(*.dita|*.xml)' as an argument to concat()?
> B 
> B <xsl:variable name="rawditacollectionString"
> B \xA0\xA0\xA0\xA0\xA0\xA0\xA0 select="concat($rawsrcPath,
> '?select=(*.dita|*.xml)')"/>

concat() joins strings together. It's short for "concatenate".

The ?select=(*.dita|*.xml) part is a URL query parameter, and it's used
by Saxon for identifying files to process with collection() or uri-
collection().

You can also use exslt's file module to get a directory listing, but i
think only with the paid versions of Saxon.


liam

--
Liam Quin,B https://www.delightfulcomputing.com/delightfulcomputing.com

Upcoming course: Intro to XSLT, 1st week of September

Current Thread