This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Autogenerated XSL and the html namespace
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Autogenerated XSL and the html namespace
- From: Francis Norton <francis at redrice dot com>
- Date: Wed, 11 Apr 2001 09:22:30 +0100
- References: <IKELJDJDDLGLEKAFIGDEOEEPCBAA.ralof@gellivare.se>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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