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

Re: XSLT version

From: Norman Walsh <ndw@nwalsh.com>
Date: Sat, 10 Nov 2007 08:20:51 -0500
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2wssqfd8s.fsf@nwalsh.com>
/ 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.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The function of the imagination is not
http://nwalsh.com/            | to make strange things settled, so much
                              | as it is to make settled things
                              | strange.--G. K. Chesterton

Received on Saturday, 10 November 2007 13:26:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:54 GMT