[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Saxon and HashMap/Hashtable
Are there any other alternative so you can evaluate the Java and not output it to the result document? --- Michael Kay <mhkay@xxxxxxxxxxxx> wrote: > > 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? > > Well, you're running the risk there that an XSLT > processor will decide that > it doesn't matter whether the test is true or false, > it's not going to > output anything anyway, so why bother evaluating it? > And if it does evaluate > it, it will probably fail trying to convert a void > to a boolean... > > The fact of the matter is, XSLT and side-effects > don't mix very well. > > Mike Kay > Software AG > > > XSL-List info and archive: > http://www.mulberrytech.com/xsl/xsl-list > __________________________________________________ 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|