- From: Leigh L. Klotz, Jr. <Leigh.Klotz@Xerox.com>
- Date: Wed, 14 Mar 2012 07:56:35 -0700
- To: public-forms@w3.org
Nick Van den Bleeken writes: > So I think our custom functions also shouldn't do that. Now that we have variables you can work around this limitation. > > Example: > > <var name="context" value="."/> > <var name="context-pos" value="position()"/> > <var name="context-size" value="last()"/> > <function signature="my:f() as number" value="$context-pos = $context-size"/> > How does the scoping on this work? Wouldn't you have to do this? <function signature="my:f() as number" value="position() = last()"/> Leigh.
Received on Wednesday, 14 March 2012 14:57:17 UTC