Re: Optional options

/ Alessandro Vernet <avernet@orbeon.com> was heard to say:
| On 5/7/07, Norman Walsh <ndw@nwalsh.com> wrote:
|> | OPTION
|> |
|> | <p:xslt>
|> |  <p:option name="my:option" value="somevalue"/>
|> | </p:xslt>
|>
|> We don't allow this today.
|
| How come? I must be misreading the specification.

Because all options have to be declared and the declaration for p:xslt
is:

<p:declare-step type="p:xslt">
  <p:input port="source" sequence="no"/>
  <p:input port="transform" sequence="no"/>
  <p:output port="result" sequence="no"/>
  <p:parameter name="*"/>
</p:declare-step>

There are no options there.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The only thing that makes life possible
http://nwalsh.com/            | is permanent, intolerable uncertainty;
                              | not knowing what comes next.--Ursula K.
                              | LeGuin

Received on Monday, 14 May 2007 13:41:24 UTC