- From: Steve Whitlatch <steve@swhitlat.phxcoxmail.com>
- Date: Wed, 4 Feb 2009 00:22:03 -0700
- To: xproc-dev@w3.org
How might I pass to Calabash a stylesheet path value to be used in a <p:xslt> step? Given: <p:declare-step xmlns:p="http://www.w3.org/ns/xproc"> <p:input port="source"/> <p:output port="result"/> <p:input port="parameters" kind="parameter"/> <p:xslt> <p:input port="stylesheet"> <p:document href="unknown"/> </p:input> </p:xslt> </p:declare-step> I want to make the <p:xslt> step use an XSL file located at a path value passed in on the command line. The problem I am trying to solve is that my web app cannot know the name of an uploaded DocBook customization layer until it receives the request. Once it has the request, it appropriately builds the command line used to call Calabash. An example of what I would like to do, would be something like: ../runcalabash.sh -i source=xmlFile.xml \ -o result=foFile.fo \ -XXX stylesheet=cust_layer.xsl simple_pipe.xpl.xml \ And the the cust_layer.xsl file would be used by the <p:xslt> step. Any hope for this? The web app accepts DocBook XML projects and returns formatted output. http://swhitlat.com/XML_Publisher Thanks, Steve Whitlatch
Received on Wednesday, 4 February 2009 15:48:30 UTC