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

RE: xproc as an alternative to Apache ant

From: <Toman_Vojtech@emc.com>
Date: Mon, 25 May 2009 03:22:52 -0400
Message-ID: <6E216CCE0679B5489A61125D0EFEC7870FABAC30@CORPUSMX10A.corp.emc.com>
To: <xproc-dev@w3.org>
Look at my previous e-mail; I believe I have answered all your questions before you asked :)

Regards,
Vojtech

> -----Original Message-----
> From: xproc-dev-request@w3.org 
> [mailto:xproc-dev-request@w3.org] On Behalf Of Dave Pawson
> Sent: Monday, May 25, 2009 9:17 AM
> To: xproc-dev@w3.org
> Subject: Re: xproc as an alternative to Apache ant
> 
> 2009/5/25  <Toman_Vojtech@emc.com>:
> >> > My immediate thoughts, posted as a comment:
> >> >
> >> >  XProc absolutely supports runtime options that can act like
> >> >  properties and variables in ant and bash.
> >>
> >> As per xslt params/variables? So I could import them
> >> from an external file and use them?
> >
> > Absolutely, at least the parameters. If you store your 
> parameters in a c:param-set document, you can pass this 
> document to the parameter input port of your pipeline. Or you 
> can load it using the p:parameters step.
> 
> 
> 
> 
> 
> I can declare parameters 'externally' in a param-set document (what is
> the root element?)
> 5.1.2.2 The c:param-set element  shows c:param-set which doesn't seem
> right? Is it?
> 
> I can import them (I think) using
> "7.1.18 p:parameters
> The p:parameters step exposes a set of parameters as a 
> c:param-set document."
> 
> Yet how is this linked to the external document? Syntax?
> 
> 
> 5.7.4 p:with-param
> The p:with-param element is used to establish the value of a
> parameter. The parameter must be given a value when it is used.
> (Parameter names aren't known in advance; there's no provision for
> declaring them.)
> Which confuses me!
> 
> surely the external document defines the value, and declares 
> the parameter?
> 
> What am I missing please?
> 
> regards
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> Docbook FAQ.
> http://www.dpawson.co.uk
> 
> 
> 
Received on Monday, 25 May 2009 07:23:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 May 2009 07:23:40 GMT