This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Saxon and HashMap/Hashtable


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]