Re: For-each's select attribute

I think there is a problem of consistency with @match in viewport

On 12/22/06, Jeni Tennison <jeni@jenitennison.com> wrote:
>
> Hi,
>
> What's the difference between:
>
> <p:for-each name="chapters" select="//chapter">
>    <p:input port="source">
>      <p:document href="http://example.org/docbook.xml"/>
>    </p:input>
>    ...
> </p:for-each>
>
> and
>
> <p:for-each name="chapters">
>    <p:input port="source" select="//chapter">
>      <p:document href="http://example.org/docbook.xml"/>
>    </p:input>
>    ...
> </p:for-each>
>
> ?
>
> If there isn't a difference, given that the second one has to be
> supported (for consistency with <p:input> elsewhere), why allow the
> first one?
>
> Cheers,
>
> Jeni
> --
> Jeni Tennison
> http://www.jenitennison.com
>
>


-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 

Received on Friday, 22 December 2006 15:09:45 UTC