[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|