Use the starts-with function, e.g. this gives you all children of the context node that start with "level":
Code:
<xsl:apply-templates select="*[starts-with(name(), 'level')]"/>
this gives you all descendants of the context node that start with "level":
Code:
<xsl:apply-templates select=".//*[starts-with(name(), 'level')]"/>
If you are using namespaces then replace name() with local-name().
--
Joe (
Microsoft MVP - XML)