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


From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Sat, 29 Jul 2006 17:16:18 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87r7041599.fsf@nwalsh.com>
p:choose selects one branch based on an XPath expression.

  <p:declare-input .../>
  <p:declare-output .../>

  <p:when test="...">



The declare-input associates an input a local port name. This input is
used as the context for the XPath expression in each when statement.
Each of the when's (and the otherwise) must assign outputs to the
declared outputs.

The output(s) of the selected branch will appear on the declared
output port(s) when the choose finishes.

It is an error if the choose has declared outputs and no p:when
matches and no p:otherwise is provided.

                                        Be seeing you,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Saturday, 29 July 2006 21:16:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:40 UTC