|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] generate-ID and xsl:number help needed pls
I'm using XML data islands to pull back a load of
data.
It basically has a number of facility types, and for
each one it can have a number of facilities.
i need to be able to uniquely identify a couple of the
fields to pass to a javascript function. I have tried
generate-id() and xsl:number to no avail, but i'm sure
there must be a way of using one of them.
I currently have the hideous work around below using
previous sibling
<input type="hidden" datafld="Facility_Name" >
<xsl:attribute name="name">
facname!!!!NEED SOMETHING HERE TO UNIQUELY
IDENTIFY"
</xsl:attribute>
</input>
<input type="hidden" datafld="Facility_ID">
facID!!!!NEED SOMETHING HERE TO UNIQUELY IDENTIFY"
</input>
<a style="COLOR:#006699;FONT-WEIGHT:bold;
FONT-SIZE:8pt; FONT-FAMILY:Tahoma">
<xsl:attribute name="onClick">
showDetails(eval("Data" +
!!!Hideous workaround!!!
this.previousSibling.value),this.previousSibling.previousSibling.value)
</xsl:attribute>
all help is greatly appreciated
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
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
|

Cart








