[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Processing a list of non-xml files in XSLT?
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
|
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
|