W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2009

[closed] Re: Extension XPathExpressions in step arguments - 2.7 XPath Extension Functions

From: Norman Walsh <ndw@nwalsh.com>
Date: Thu, 05 Feb 2009 08:06:22 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2k585yqwh.fsf_-_@nwalsh.com>
Toman_Vojtech@emc.com writes:
> Both of your examples were right.
>
> The extension functions are available when the *processor* evaluates the
> XPath expression and the step gets the result of the expression. The
> "select" attribute of p:with-option, p:variable, ... is the best example
> of this, or the "select" expression on p:input, or the "test" expression
> of p:when, ...
>
> The functions are not available if the *step* evaluates the expression.
> This happens with steps like p:string-replace (the "replace" option) or
> p:split-sequence ("test"). (One confusing case could be p:filter, which
> has an option named "select" :)

David, please let us know if that explanation isn't sufficient.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Truth lies within a little uncertain
http://nwalsh.com/            | compass, but error is immense.

Received on Thursday, 5 February 2009 13:07:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 February 2009 13:07:02 GMT