Project

Profile

Help

Bug #5079 » base-uri-test1.xsl

Martin Honnen, 2021-09-03 20:48

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="#all"
version="3.0">
<xsl:import href="xslt/inner-base-uri-test1.xsl"/>
<xsl:output indent="yes"/>
<xsl:mode on-no-match="shallow-copy"/>
<xsl:template match="uri">
<xsl:copy>
<xsl:attribute name="static-base-uri" select="static-base-uri()"/>
<xsl:attribute name="base-uri" select="base-uri()"/>
<xsl:attribute name="resolve-uri" select="resolve-uri(.)"/>
<xsl:apply-templates/>
</xsl:copy>
<xsl:next-match/>
</xsl:template>
</xsl:stylesheet>
(2-2/4)