W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

<xsl:eval/>

From: Jonathan Ball <diskdaddy@hotmail.com>
Date: Sun, 29 Oct 2000 18:29:17 -0500
To: <xsl-editors@w3.org>
Message-ID: <OE4uxYjUYXJVW3r4ZTa00000ffc@hotmail.com>
Hey there,

I've been poking around and can't find what <xsl:eval>
has been replaced with...

I use it in the following context:

<xsl:for-each select="//REPORT/TESTTAG">  
 <xsl:element name="H2">
    <xsl:attribute name="id">header<xsl:functions>childNumber(this)</xsl:functions></xsl:attribute>
    <xsl:value-of/><xsl:eval>childNumber(this)</xsl:eval>
</xsl:element>
</xsl:for-each>

This is a test program, but basically, at work I need to give unique Id's to DIV and FORM tags
such that 'forms' for different "subjects" can be hidden or shown depending on what the
user chooses...above, I have uniquely numbered simple <H2> tags.  However, the xsl:eval
function has been removed and it doesn't process properly.  What is a new scheme for
obtaining childNumbers?

Thanks.


-JB
Received on Monday, 30 October 2000 16:13:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:51 GMT