Debian Codegraph @

xsl/errors.xsl

raw
1 <?xml version='1.0'?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
3
4 <xsl:template match="*">
5 <xsl:message>
6 <xsl:text>No template matches </xsl:text>
7 <xsl:value-of select="name(.)"/>
8 <xsl:if test="parent::*">
9 <xsl:text> in </xsl:text>
10 <xsl:value-of select="name(parent::*)"/>
11 </xsl:if>
12 <xsl:text>.</xsl:text>
13 </xsl:message>
14
15 <xsl:text>% &lt;</xsl:text>
16 <xsl:value-of select="name(.)"/>
17 <xsl:text>&gt;&#10;</xsl:text>
18 <xsl:apply-templates/>
19 </xsl:template>
20
21 </xsl:stylesheet>