xsl-list
[Top] [All Lists]

RE: Re: Conditional Processing in XSLT & JS

2003-01-03 01:46:03
Hi,

I have the following evaluation :

      <xsl:if test="'{name}' = 'return bpr_name()'">  

if the contents of 'name' node and the string returned by the 
javascript
function are equal the it will perform the following tasks.

For some reason or other it is not evaluating the bpr_name function.

Can anybody give me some hint of what maybe is happening??

You're trying to write something that's not XPath. See the documentation of 
your XSLT implementation how JavaScript is used in XPath expressions and use

  <xsl:if test="name = JAVASCRIPT_GOES_HERE">   

Cheers,

Jarno - Claire Voyant: Premonition (Assemblage 23 Mix)

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list