Subject: RE: [xsl] Saxon and HashMap/Hashtable From: William Lam <xeenman@xxxxxxxxx> Date: Thu, 12 Jul 2001 11:23:25 -0700 (PDT) |
I managed to get it working in Saxon 6.4, but 6.3 does not work. If I need to call an Java function that has no return value of interest, would this be better? <xsl:if test="Hashtable:put('key', 'value'" /> instead of storing the result in a variable? > However, there is no guarantee that an XSLT > processor will evaluate the > variable $void: it is never referenced and therefore > a processor is entitled > to avoid evaluating it. You cannot rely on variables > being evaluated in any > particular order, or at all, unless they are > actually referenced - calling > external functions that have side-effects is > therefore fraught with danger. > See XSLT Prog Ref Chap 8 (2nd edition), esp > pp587-590, for a discussion of > this. > > Mike Kay > __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Saxon and HashMap/Hashtab, Michael Kay | Thread | RE: [xsl] Saxon and HashMap/Hashtab, Michael Kay |
[xsl] XSL-FO, Anis h | Date | Re: [xsl] document(), Trevor Nash |
Month |