W3C home > Mailing lists > Public > xproc-dev@w3.org > May 2009

Re: xproc as an alternative to Apache ant

From: Dave Pawson <dave.pawson@gmail.com>
Date: Mon, 25 May 2009 09:11:24 +0100
Message-ID: <711a73df0905250111p79d882cat829682fbaf70ac9d@mail.gmail.com>
To: xproc-dev@w3.org
2009/5/25  <Toman_Vojtech@emc.com>:

> My example pipeline had only one parameter input port, but you can have as many you want in your pipelines.

Nice!

>> Next question, how do I refer to the values set in
>> the external file? Is there some syntax for this?
>>
>> E.g. I want to run an XSLT transform using
>> parameter $xslt_stylesheet as the stylesheet for the transform.
>
> I think you have to use p:parameters to read the parameters document first. Then you can apply XPath expressions to the generated c:param-set document and use the results in, for instance, XProc variables or options, or in choose/when statements.

Not so nice :-(

No lessons learned from xslt?  $param-name to get the value?


regards



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
Received on Monday, 25 May 2009 08:12:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 May 2009 08:12:00 GMT