- From: Norman Walsh <ndw@nwalsh.com>
- Date: Tue, 10 Jan 2012 06:28:49 -0800
- To: XProc Dev <xproc-dev@w3.org>
- Message-ID: <m2aa5vy6la.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:
>> OTOH, this clearly has to be forbidden:
>>
>> <p:for-each select="//appendix">
>> <p:iteration-source select="//chapter">
>> <p:pipe step="somestep" port="result"/>
>> </p:iteration-source>
>> </p:for-each>
>
> It surely looks weird, but how much is it different from, say, the following:
>
> <p:filter select="//appendix">
> <p:input port="source" select="//chapter">
> <p:pipe step="somestep" port="result"/>
> </p:input>
> </p:filter>
<aside>
Now that I see that, I regret that we called the option on p:filter
"select" since it's going to mean that we have a select attribute that
is an AVT in V.next. Oh, well. Water under the bridge.
</aside>
I suppose select *could* be allowed in both places, but I bet that
would be a mistake more often than it would be what the user really
wanted.
Be seeing you,
norm
--
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com
Received on Tuesday, 10 January 2012 14:29:19 UTC