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

Re: A Strange Viewport

From: Richard Tobin <richard@inf.ed.ac.uk>
Date: Tue, 3 Oct 2006 14:41:42 +0100 (BST)
To: Alex Milowski <alex@milowski.org>, public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
Message-Id: <20061003134142.0D73C741013@macintosh.inf.ed.ac.uk>

> The contained step 'a' should be executed as many times as there
> are 'x' subtrees but it doesn't use as input anything in the
> viewport and doesn't contribute to the viewport's output.

I am reminded of the hack used in XSLT 1 to do something ten times:
get a node-set with 10 nodes in it - (//node())[position() < 10] 
perhaps - and do a for-each on them.

I don't think we should ban it, but perhaps we should provide some
other simple iteration construct.

-- Richard
Received on Tuesday, 3 October 2006 13:41:21 GMT

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