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

Re: [xsl] Autogenerated XSL and the html namespace


Subject: Re: [xsl] Autogenerated XSL and the html namespace
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 11 Apr 2001 09:22:30 +0100

Ralof wrote:
> 
> What I need is just:
> 
> <xsl:template match="//*">
>   <div class="{NameOfElement}"> <xsl:apply-templates /></div>
> </xsl:template>
> 
try

  <div class="{name(.)}"> <xsl:apply-templates /></div>

Francis.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread