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

Re: Viewport and nested selected nodes

From: Alex Milowski <alex@milowski.org>
Date: Tue, 24 Oct 2006 08:12:34 -0700
Message-ID: <453E2D62.5030803@milowski.org>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | Jeni Tennison wrote:
> |>
> |> Hi,
> |>
> |> In the example of <p:viewport> in the spec:
> |>
> |> <p:viewport name="encdivs">
> |>   <p:declare-input port="div" step="step" source="port"
> |>                    select="//h:div[@class='enc']"/>
> |>   <p:declare-output port="html" step="encrypt" source="result"/>
> |>   <p:step name="encrypt" type="p:encrypt-document">
> |>     <p:input name="document" step="encdivs" source="div"/>
> |>   </:step>
> |> </p:viewport>
> |
> | In the case of viewports, "//h:div" and "h:div" are equivalent.
> 
> No, I don't think so. These are select patterns, not match patterns. I
> would expect h:div to be the same as /h:div in this case, not //h:div.

That's an issue we should discuss because I've always imagined them
as match patterns.

--Alex Milowski
Received on Tuesday, 24 October 2006 15:13:21 GMT

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