Subject: RE: How to put a value-of select into a variable.|
From: "Cote, Stephane" <scote@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 20 May 1999 17:36:41 -0700
Did you try this in IE5?
Also where did you get the information on attributes.getNamedItem?
From: John Dunn [SMTP:johnd@xxxxxxxxxxxxx]
Sent: Thursday, May 20, 1999 4:30 PM
Subject: RE: How to put a value-of select into a variable.
I was able to accomplish that with the following code:
<xsl:eval>hextodec(attributes.getNamedItem( 'id' ).text)</xsl:eval>
return parseInt( item, 16 );
when I have the following XML object
<Item id='0x23' />
I am pretty sure that <xsl:eval> is Microsoft Parser Specific, and probably
would choke any other parser. If anyone has a better method than this, let
me know - this was done using the time-honored 'guess and check' method of
Peak Audio, Inc.
From: Cote, Stephane [mailto:scote@xxxxxxxxxxxxxxxxxxx]
Sent: Thursday, May 20, 1999 3:50 PM
Subject: How to put a value-of select into a variable.
I was hopping someone knows how to put a
<xsl:value-of select="@name"/> into a variable so that I can pass
,, Stephane DeCoeli Cote
` > InterPro Expense System
||| ~ ||| w (925) 730-3717
||| \ / || \ / |||
\/ || \/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list