W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > July 2008

xml context for p:filter

From: James Fuller <james.fuller.2007@gmail.com>
Date: Wed, 9 Jul 2008 13:24:57 +0200
Message-ID: <a0ad8ffe0807090424q3aa8b8ax4a2db589a94acd3c@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

to quote the p:filter definition in the latest editors draft


The p:filter step selects portions of the source document based on a
(possibly dynamically constructed) XPath select expression.

<p:declare-step type="p:filter">
     <p:input port="source"/>
     <p:output port="result" sequence="true"/>
     <p:option name="select" required="true"/>
<!-- XPathExpression -->

This step behaves just like an p:input with a select expression except
that the select expression is computed dynamically.


if the select expression is computed e.g.

<p:option name="select" required="fn:concat(a/text(),b/text(),//c/text())"/>

I am guessing this is against source input ... does this need to be
clarified in the text of the p:filter definition ?

regards, Jim Fuller
Received on Wednesday, 9 July 2008 11:25:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC