Project

Profile

Help

Support #3172 ยป evaluate.base-uri.xsl

Nick Nunes, 2017-03-17 23:08

 
<?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="xs"
version="3.0">
<xsl:template name="main">
<xsl:variable name="context" as="element()">
<foo/>
</xsl:variable>
<xsl:evaluate xpath="'base-uri()'" base-uri="{xs:anyURI('http://example.com/test.xsl')}" context-item="$context"/>
</xsl:template>
</xsl:stylesheet>
    (1-1/1)