[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Java Extension Functions and XT

Subject: Re: Java Extension Functions and XT
From: "Jon Smirl" <jonsmirl@xxxxxxxxxxxx>
Date: Wed, 28 Jul 1999 11:25:59 -0400
java variable expansion function
Switching to <xsl:variable name="seed" select="logon:seed()"/> does indeed
work.  So if I understand correctly, when I used <xsl:variable
name="seed"><xsl:value-of select="string(logon:seed())"/></xsl:variable> I
created a text macro that was then evaluated on each use. Repeatedly
inserting and evaluating a text macro caused the function to be called
repeatedly which in my case caused the value to change.

So if my explanation is right, Saxon should work the same as XT. My problem
was in understanding how to use xsl:variable instead of anything to do with
extension functions. It was the use of the function that allowed me to
detect the difference between  a single evaluation and a macro expansion.

Jon Smirl
jonsmirl@xxxxxxxxxxxx



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.