[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member