W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > December 2006

Re: For-each's select attribute

From: Innovimax SARL <innovimax@gmail.com>
Date: Fri, 22 Dec 2006 16:09:37 +0100
Message-ID: <546c6c1c0612220709y2f8481dds7e8b25948fc510ff@mail.gmail.com>
To: "Jeni Tennison" <jeni@jenitennison.com>
Cc: public-xml-processing-model-wg@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:49 GMT