[thelist] XSL: current node question

Peter-Paul Koch gassinaumasis at hotmail.com
Tue Apr 3 12:28:56 CDT 2001



><xsl:value-of select="."/>

Yep, that was it. I knew there was a simpler solution but I haven't done XSL 
for nearly two years.

>So, using ppk's code as a basis, it would be
>
><xsl:template match="anne|betty|cindy">
><div>
><xsl:attribute name="class">
><xsl:value-of select="."/>
></xsl:attribute>
></div>
></xsl:template>
>
>I don't think there's any such xsl tag as <xsl:eval>!

MS proprietary extenstion.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list