OLD | NEW |
1 <xsl:stylesheet version="1.0" | 1 <xsl:stylesheet version="1.0" |
2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | 2 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
3 xmlns:exslt="http://exslt.org/common" | 3 xmlns:exslt="http://exslt.org/common" |
4 exclude-result-prefixes="exslt"> | 4 exclude-result-prefixes="exslt"> |
5 | 5 |
6 <xsl:variable name="x"> | 6 <xsl:variable name="x"> |
7 <y/> | 7 <y/> |
8 </xsl:variable> | 8 </xsl:variable> |
9 | 9 |
10 <xsl:template match="doc"> | 10 <xsl:template match="doc"> |
11 <html> | 11 <html> |
12 <body> | 12 <body> |
13 <script>if (window.testRunner) testRunner.dumpAsText();</script> | 13 <script>if (window.testRunner) testRunner.dumpAsText();</script> |
14 <p>Test that exslt:node-set() function is supported.</p> | 14 <p>Test that exslt:node-set() function is supported.</p> |
15 <xsl:apply-templates select="exslt:node-set($x)/*"/> | 15 <xsl:apply-templates select="exslt:node-set($x)/*"/> |
16 </body> | 16 </body> |
17 </html> | 17 </html> |
18 </xsl:template> | 18 </xsl:template> |
19 | 19 |
20 <xsl:template match="y"> | 20 <xsl:template match="y"> |
21 <p>SUCCESS</p> | 21 <p>SUCCESS</p> |
22 </xsl:template> | 22 </xsl:template> |
23 | 23 |
24 </xsl:stylesheet> | 24 </xsl:stylesheet> |
OLD | NEW |