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;')"/>
</p:string-replace>



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;')"
</p:string-replace>

-----------------------------------------------------------
David A. Lee
dlee@calldei.com  
http://www.calldei.com
http://www.xmlsh.org
Received on Friday, 9 January 2009 02:45:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 January 2009 02:45:15 GMT