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

Re: Deleting in a viewport

From: Alex Milowski <alex@milowski.org>
Date: Thu, 09 Nov 2006 07:37:02 -0800
Message-ID: <45534B1E.9080600@milowski.org>
To: public-xml-processing-model-wg@w3.org

Norman Walsh wrote:
> / Alex Milowski <alex@milowski.org> was heard to say:
> | I'm not certain we have a good way to do this because a viewport
> | always requires an output for the replacement.
> |
> | Any ideas how we might solve this?
> 
> With an p:empty component that takes no inputs and returns an empty
> document sequence?

I thought about that... but we don't say how empty sequences are
handled.

I suppose we could say that a viewport's replacement must either
be a singleton sequence or an empty sequence.  An empty sequence
has the effect of deleting the matching subtree.


--Alex Milowski
Received on Thursday, 9 November 2006 15:54:38 GMT

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