Project

Profile

Help

Support #6510 » my-xslt.xslt

Pieter Lamers, 2024-08-15 17:27

 
<xsl:stylesheet
xmlns:mymodule="#mymodule"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:math="http://www.w3.org/2005/xpath-functions/math" exclude-result-prefixes="#all" version="3.0">
<xsl:mode on-no-match="shallow-copy"/>
<xsl:template match="/">
<h1>Start</h1>
<xsl:sequence select="load-xquery-module('#mymodule', map { 'location-hints' : base-uri() || '/../my-module.xqm' } )?functions(xs:QName('mymodule:myfunction'))?1('aals.1')"/>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
(2-2/3)