Re: Variables and parameters

/ Alessandro Vernet <avernet@orbeon.com> was heard to say:
| 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>

No, I'd expect that to be an error. p:for-each iterates over *documents*
not elements or other nodes.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Thursday, 25 May 2006 13:08:50 UTC