gecko-dev/dom/tests/reftest/bug1389406-02.xsl
Peter Van der Beken ec6e052af1 Bug 1389406 - XSLT — nested xsl:apply-imports doesn't work in some cases. r=erahm.
Use separate classes for parameter and variable maps, and refcount the class for parameter
maps, since a parameter map can be stored in multiple places.

--HG--
extra : rebase_source : 56cc22349a8e03925e3d7446528dd70456117f52
2017-09-12 12:45:24 +02:00

16 lines
398 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:template mode="title" match="*">
<xsl:text> — TEST CASE</xsl:text>
<xsl:apply-imports/>
</xsl:template>
<xsl:template match="/">
<h3 xmlns="http://www.w3.org/1999/xhtml"><xsl:apply-templates select="title" mode="title"/></h3>
</xsl:template>
</xsl:stylesheet>