[Home] [By Thread] [By Date] [Recent Entries]

Subject: HOW TO USE <eval> IN select
From: "Vassilis Grillas" <vgrillas@xxxxxxxxx>
Date: Wed, 9 Jun 1999 13:51:37 +0300
This is what I want to do:
 
1) call a script function and use its result in the filter of a select.
 
<xsl:attribute name="VALUE">
   <xsl:value-of select="/MAIN/DAT/*[@ID = <xsl:eval>Read_ID()</xsl:eval>]" /-->
</xsl:attribute>
 
The ie5 complained about the < which I changed to &lt; (> to &gt;)
Then it complained about unexpected token :
any suggestions?
 
2) Is there any form of variable in XSL that can be used to read and write data continuously (i.e. not just write once read many)
 
 
Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member