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

Re: Viewport and nested selected nodes

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Tue, 24 Oct 2006 05:34:34 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87u01ukqfp.fsf@nwalsh.com>
/ 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.

                                        Be seeing you,
                                          norm

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

Received on Tuesday, 24 October 2006 09:35:39 GMT

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