[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: <xsl:eval/>

Subject: Re: <xsl:eval/>
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Date: Mon, 30 Oct 2000 16:55:41 -0400 (EST)
xsl eval
Jonathan,

Best to send "how to" questions to the XSL-list@xxxxxxxxxxxxxxxx
in the future, but I believe what you're looking for can be
done with either:

  generate-id()

or with:

  position()

______________________________________________________________
Steve Muench, Lead XML Evangelist & Consulting Product Manager
BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG
Author "Building Oracle XML Applications", O'Reilly
http://www.oreilly.com/catalog/orxmlapp/

----- Original Message ----- 
From: "Jonathan Ball" <diskdaddy@xxxxxxxxxxx>
To: <xsl-editors@xxxxxx>
Sent: Sunday, October 29, 2000 3:29 PM
Subject: <xsl:eval/>


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




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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.