I am debugging the xsl stylesheet of someone else and I noticed a lot of template matches aimed at hiding certain content. 

```
Ex: <tag hide="X">

```

So their rules go something like this.

```
<xsl:template match="tag1[@hide='x']" />
<xsl:template match="tag2[@hide='x']" />
<xsl:template match="tag3[@hide='x']" />

```

There seems to be a match for every possible tag that can appear in the document, which is around thirty or so. So my question is, is there a better way to do this in xsl than to have a list of template matches for the same attribute match?