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

Re: Foreach, Viewport and Choose and another way to default

From: Jeni Tennison <jeni@jenitennison.com>
Date: Fri, 22 Dec 2006 13:39:07 +0000
Message-ID: <458BDFFB.5030903@jenitennison.com>
To: XProc WG <public-xml-processing-model-wg@w3.org>

Mohamed wrote:
> It seems in those cases that we add an unneeded surrounder wrapper
> because we don't care about the name

That's true, but it's still useful to have a wrapper element in case you 
want to (easily) construct a sequence of documents from different sources.

Instead, I think that we should say that <p:input> within <p:for-each>, 
<p:viewport> and <p:choose> does not have a port attribute (i.e. doesn't 
have a name). (I don't think we want people to reference that input 
anyway, particularly as they're going to get very confused between the 
for-each/viewport "source" and "current" ports.)

Cheers,

Jeni
-- 
Jeni Tennison
http://www.jenitennison.com
Received on Friday, 22 December 2006 13:39:42 GMT

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