Project

Profile

Help

Bug #4413 ยป resolve-uri.xsl

Matthew Hutchins, 2019-12-18 00:21

 
<?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="2.0">
<xsl:output indent="true"/>
<xsl:template name="main">
<output>
<entry><xsl:value-of select="resolve-uri('example 1.txt','http://example.com/')"/></entry>
<entry><xsl:value-of select="resolve-uri('example 2.txt','http://example.com/')"/></entry>
<entry><xsl:value-of select="resolve-uri('example%20%203.txt','http://example.com/')"/></entry>
</output>
</xsl:template>
</xsl:stylesheet>
    (1-1/1)