Re: [xsl] Matching elements based on element type:

Subject: Re: [xsl] Matching elements based on element type:
From: "David B" <daavidb@xxxxxxxxx>
Date: Mon, 17 Jul 2006 17:20:50 +0100
2006/7/17, Florent Georges <darkman_spam@xxxxxxxx>:
David B wrote:

Hi

> 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).


Sorry, was this meant for me? You mean in the XML file?


/David

Current Thread