- From: Alessandro Vernet <avernet@orbeon.com>
- Date: Wed, 24 May 2006 17:44:59 -0700
- To: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
On 5/22/06, Jeni Tennison <jeni@jenitennison.com> wrote:
> [2] I think we'll want to set the context node and context position
> differently within a <p:for-each>.
Jeni,
Yes, everything seems to come together quite nicely this way. So you would have:
<p:for-each select="$company/department/employee">
<p:step name="give-raise">
<p:input name="employee" select="."/>
</p:step>
</p:for-each>
And to be consistent with XSLT [1] you could use "current()" instead
"." if you like.
[1] http://www.w3.org/TR/xslt20/#current-function
Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/
Received on Thursday, 25 May 2006 00:45:10 UTC