← all checks
warning //(xsl:variable | xsl:template)[string-length(@name) = 1] | //xsl:function[string-length(substring-after(@name, ":")) = 1]

Short names

Single-character names for variables, functions, and templates reveal nothing about their purpose, making stylesheets hard to read and maintain.

Incorrect:

<xsl:variable name="x" select="'hello'"/>

Correct:

<xsl:variable name="greeting" select="'hello'"/>