Project

Profile

Help

Bug #4969 » test.xsl

Michael Kay, 2021-04-15 00:42

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet exclude-result-prefixes="#all" version="3.0"
xmlns:test="http://www.example.com/test" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template name="xsl:initial-template">
<xsl:variable as="element(test:e)" name="e">
<test:e />
</xsl:variable>

<xsl:variable as="element(test:e)" name="e">
<xsl:copy-of select="$e" validation="strict" />
</xsl:variable>

<xsl:message select="$e" />

<xsl:sequence select="$e" />
</xsl:template>

</xsl:stylesheet>
(2-2/5)