- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Thu, 16 Mar 2006 10:27:25 -0500
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87r7524dgi.fsf@nwalsh.com>
/ Alessandro Vernet <avernet@orbeon.com> was heard to say: | What does $status refer to in the pipeline? Would that be a parameter | of the pipeline? Yes, sorry. That was just a global, statically known parameter. | One way of looking at tests evaluated at runtime is | the following: we will want to have tests that run on infosets | manipulated in the pipeline. So as we have an attribute on <p:input> | to reference a named infoset ("use" in your example), we can use the | same attribute on the <p:choose>. Then it would be quite natural to | use XPath to perform the actual test. So the expression in the <p:when | test="..."> would be an XPath expression evaluated in the context of | the infoset referenced on <p:choose>. > | Say: > | <p:choose use="some-document-label"> | <p:when test="/status = 'draft'"> Ah, yes, I like that. Be seeing you, norm -- Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc. NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
Received on Thursday, 16 March 2006 15:28:40 UTC