- From: Dave Pawson <dave.pawson@gmail.com>
- Date: Tue, 16 Dec 2008 18:43:12 +0000
- To: "XProc Dev" <xproc-dev@w3.org>
The CR has <p:xslt name="generate" version="2.0"> <p:input port="source"> <p:empty/> </p:input> <p:input port="stylesheet"> <p:inline> <xsl:stylesheet version="2.0"> ... </xsl:stylesheet> </p:inline> </p:input> <p:with-option name="template-name" select="'someName'"/> </p:xslt> If there were 5 <p:input/> statements, how to know which one the option is associated with? 5.7.3 says It is a static error (err:XS0031) to use an option name in p:with-option if the step type being invoked has not declared an option with that name. Is that the way the CR tells me of this 'link' between option values and steps? A positive assertion may be clearer? However. What if there are two xslt steps in scope? And two corresponding p:with-options? (I see 'It is a static error (err:XS0004) to include more than one p:with-option with the same option name as part of the same step invocation.') I.e. I'm avoiding this error by saying I want to execute two transforms, one starting with template A and one with template B. Is that not currently possible? regards -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk
Received on Tuesday, 16 December 2008 18:43:54 UTC