Re: xproc as an alternative to Apache ant

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 UTC