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

Re: p:viewport - number of matching documents

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 27 Oct 2008 10:49:20 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2d4hmjdov.fsf@nwalsh.com>
Toman_Vojtech@emc.com writes:
[...]
> Based on the spec ("The result of the p:viewport is a copy of the
> original document where the selected subtrees have been replaced by the
> results of applying the subpipeline to them."), returning more than four
> matches doesn't make much sense to me in this case, so I think that
> p:viewport should give me only four matches, but where does this follow
> from?

From 4.3:

  After a match is found, the entire subtree rooted at that match is
  processed as a unit. No further attempts are made to match nodes
  among the descendants of any matched node.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Vision is the art of seeing things
http://nwalsh.com/            | invisible.-- Swift

Received on Monday, 27 October 2008 14:50:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:28:25 UTC