RE: [xsl] Autogenerated XSL and the html namespace

Subject: RE: [xsl] Autogenerated XSL and the html namespace
From: "Ralof" <ralof@xxxxxxxxxxxx>
Date: Wed, 11 Apr 2001 05:54:25 +0200

I solved my html namespace problem and I am 
getting some grip of this XSL thingy, but I don't
have the feeling that XSL is for everyone :)

Anyway, I can't find anywhere is how I can
read the NAME of a element. 

What I need is just:

<xsl:template match="//*">
  <div class="{NameOfElement}"> <xsl:apply-templates /></div>
</xsl:template>

I have the feeling that there must be some way of getting 
the name of the current item, but maybe i'm wrong?

Maybe I am completely on the wrong track here?

Regards

Stefan

Desperate


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


Current Thread