[Home] [By Thread] [By Date] [Recent Entries]
On 16.02.2021 22:03, Martin Honnen martin.honnen@xxxxxx wrote:
Start with a named template and pull in the files or URIs with the Saxon specific argument to the "collection" or "uri-collection" function: Missed parenthesis: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="#all" expand-text="yes"> <xsl:param name="search-pattern" as="xs:string">*.xhtml</xsl:param> <xsl:output method="text"/> <xsl:template match="/" name="xsl:initial-template">
<xsl:value-of select="uri-collection('?select=' || $search-pattern)
! (. || ' : '
|| doc-available(.))" separator=" "/>
</xsl:template></xsl:stylesheet>
|

Cart



