RE: [xsl] Need to use generate-id() or other method?

Subject: RE: [xsl] Need to use generate-id() or other method?
From: Sundar Shanmugasundaram <SSHANMUGASUNDARAM@xxxxxxxxxxxxx>
Date: Thu, 24 Apr 2003 10:21:42 +0530

Please use 
<xsl:value-of select="generate-id()"/>
like this:

<xsl:attribute name="id">
<xsl:value-of select="generate-id()"/>
<xsl:attribute name="StartTime">
blah blah blah
<xsl:attribute name="EndTime">
blah blah blah


-----Original Message-----
From: Kathy Burke [mailto:Kathy_Burke@xxxxxxxxx]
Sent: Thursday, April 24, 2003 3:40 AM
To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
Subject: [xsl] Need to use generate-id() or other method?

I have an xml/html form using an xsl stylesheet to create a table for
<process_step> elements. Each <process_step> has a StartTime attribute and
EndTime attribute. There can, of course, be 10 or 50 steps for any given xml

My XSLT creates an html button for each StartTime and EndTime attribute for
each <process_step>.

Using VB or Javascript I want to add code to capture the system date/time
when the user clicks on the button(s) associated with that <process_step>.
I'm trying to figure out how to refer to each button correctly matching each
step (am I making any sense?).

XSL Question:  I've read about generate-id() though not yet fully
understanding it. How would I dynamically assign matching IDs to each
<process_step> and related attributes for capturing data when generating the
xml/html form from xslt?



 XSL-List info and archive:

 XSL-List info and archive:

Current Thread