This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Saxon and HashMap/Hashtable
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Saxon and HashMap/Hashtable
- From: William Lam <xeenman at yahoo dot com>
- Date: Thu, 12 Jul 2001 11:23:25 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
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