Subject: Re: [xsl] Matching elements based on element type:|
From: "David B" <daavidb@xxxxxxxxx>
Date: Mon, 17 Jul 2006 17:20:50 +0100
David B wrote:
> I want an xslt stylesheet that has a single template for all elements > of type my_type.
<xsl:template match="element(*, my_type)"> ... </xsl:template>
Don't forget to validate your input (to annotate the nodes with their type).