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

Extension XPathExpressions in step arguments - 2.7 XPath Extension Functions

From: David A. Lee <dlee@calldei.com>
Date: Thu, 8 Jan 2009 21:44:31 -0500
Message-ID: <2EA7859BD2B84BC3A044BC0EB3964208@calldei.com>
To: "XProc Dev" <xproc-dev@w3.org>
I'd like confirmation of my understanding please.

In 2.7 XPath Extension Functions
It lists the extension xpath functions which are required.

Is it true that these are only implemented on explict xpath step options such as "select=" 
but NOT in the step library options.

For example:

p:system-property IS exposed
<p:string-replace match="/doc/episode/@value">
<p:with-option name="replace" select="concat('&quot;',p:system-property('p:episode'), '&quot;')"/>

BUT ... 

p:system-property is NOT exposed (error is thrown)

<p:string-replace match=/doc/episode/@value 
    replace="concat('&quot;',p:system-property('p:episode'), '&quot;')"

David A. Lee
Received on Friday, 9 January 2009 02:45:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:04 UTC