Project

Profile

Help

RE: Saxon .NET throws NoClassDefFoundError ยป bytecode-dotnet-error.xsl

Jakub Maly, 2012-06-24 21:54

 
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="3.0">
<xsl:output method="xml" indent="yes" />
<xsl:template match="/C1">
<C1>
<xsl:call-template name="TOP-C1-ELM">
<xsl:with-param name="ci" select="./(* | @*)" />
</xsl:call-template>
</C1>
</xsl:template>
<xsl:template name="TOP-C1-ELM">
<xsl:param name="ci" as="item()*" />
<xsl:apply-templates select="$ci[name() = 'a1']" />
<xsl:apply-templates select="$ci[name() = 'C2']" />
</xsl:template>
<xsl:template match="C2 | a2" priority="0">
<xsl:copy-of select="." />
</xsl:template>
</xsl:stylesheet>
    (1-1/1)