Re: Defaulting pipeline inputs and outputs

On 8/10/07, Norman Walsh <ndw@nwalsh.com> wrote:
> / "Innovimax SARL" <innovimax@gmail.com> was heard to say:
> | Thanks for the clarification but what should be the interpretation of
> | this pipeline ?
> | <p:pipeline>
> |   <p:option name="operation"/>
> |   <p:choose>
> |     <p:when test="$operation = 'parameters'">
> |       <p:parameters/>
> |     </p:when>
> |     <p:when test="$operation = 'xslt'">
> |       <p:xslt>
> |         <p:input port="stylesheet"/>
> |           <p:document href="stylesheet.xsl"/>
> |         </p:input>
> |       </p:xslt>
> |     </p:when>
> |     <p:when test="$operation = 'xslfo'">
> |       <p:xsl-formatter uri="result.pdf"/>
> |     </p:when>
> |   </p:choose>
> | </p:pipeline>
>
> The p:choose step does not have a primary input port, so the pipeline
> doesn't get one.

How can we define a primary input port on p:choose ?

Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Friday, 10 August 2007 13:11:28 UTC