- From: <vojtech.toman@emc.com>
- Date: Wed, 11 Jan 2012 03:16:51 -0500
- To: <xproc-dev@w3.org>
> -----Original Message-----
> From: Norman Walsh [mailto:ndw@nwalsh.com]
> Sent: Wednesday, January 11, 2012 3:14 AM
> To: XProc Dev
> Subject: p:pipeline should make a closure over in-scope variables
>
> For the enhancement request pile:
>
> <p:pipeline ...>
> <p:option name="base.dir" required="true"/>
>
> <p:pipeline>
> <!-- $base.dir should be available here -->
Yes, although we should be careful with situations like this:
<p:pipeline ...>
<p:option name="base.dir" required="true"/>
<p:pipeline>
<p:option name="base.dir" required="true"/>
...
Ideally, also the following should be supported to allow for "global" variables:
<p:library>
<p:variable name="base.dir" select="..." />
<p:pipeline>
<!-- $base.dir should be available here -->
Vojtech
--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech
Received on Wednesday, 11 January 2012 08:20:51 UTC