[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: Re: [xsl] Matching elements based on element type:
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 17 Jul 2006 18:15:48 +0200 (CEST)

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

  Regards,

--drkm

























	

	
		
___________________________________________________________________________ 
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son interface rivolutionnaire.
http://fr.mail.yahoo.com


Current Thread
Keywords