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

RE: injecting options and parameters into XProc

From: Vasil Rangelov <boen.robot@gmail.com>
Date: Wed, 10 Oct 2007 21:57:13 +0300
To: <public-xml-processing-model-comments@w3.org>
Message-ID: <470d2090.07ae660a.1d8d.3ecb@mx.google.com>

>A step can't see it's own options.

Does that mean that
<p:pipeline xmlns:p="http://www.w3.org/ns/xproc">
    <p:xslt2>
      <p:input port="stylesheet">
        <p:document href="stylesheet1.xsl"/>
      </p:input>
      <p:option name="allow-version-mismatch" value="no"/>
 	<p:option name="allow-collections"
select="$allow-version-mismatch"/>
    </p:xslt2>
</p:pipeline>

Is a (static?) error, since there is no allow-version-mismatch option
anywhere outside the p:xslt2 step, even though there is such within the step
itself (AND is explicitly specified)? Doesn't seem right...
Received on Wednesday, 10 October 2007 19:03:32 GMT

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