Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 596 Bytes
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:x="http://www.yandex.ru/xscript"
extension-element-prefixes="x">
<xsl:import href="x-nodeset.xsl"/>
<xsl:template match="/tests/test">
<xsl:variable name="length" select="source/@length"/>
<xsl:variable name="nodeset" select="x:wbr(source, $length)"/>
<xsl:apply-templates select="result" mode="node_set">
<xsl:with-param name="NodeSet" select="$nodeset"/>
</xsl:apply-templates>
</xsl:template>
</xsl:stylesheet>