Re: XSLT version

On Nov 10, 2007 2:20 PM, Norman Walsh <ndw@nwalsh.com> wrote:
> / Jeni Tennison <jeni@jenitennison.com> was heard to say:
> | Norman Walsh wrote:
> |> Suppose instead we say that there's a single, required p:xslt step and
> |> an implementation may implement XSLT 1.0 or XSLT 2.0 (or both) at its
> |> option.
> |>
> |> Here's the proposed signature:
> |>
> |> <p:declare-step type="p:xslt">
> |>      <p:input port="source" sequence="true" primary="true"/>
> |>      <p:input port="stylesheet"/>
> |>      <p:input port="parameters" kind="parameter" sequence="true"/>
> |>      <p:output port="result" primary="true"/>
> |>      <p:output port="secondary" sequence="true"/>
> |>      <p:option name="initial-mode"/>
> |>      <p:option name="template-name"/>
> |>      <p:option name="output-base-uri"/>
> |>      <p:option name="version"/>
> |> </p:declare-step>
> |
> | What's the 'version' option do?
>
> If the pipeline author specifies a version and the pipeline engine
> doesn't support that version, it throws a dynamic error.

What are the allowed values for that option ?

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 Saturday, 10 November 2007 13:40:24 UTC