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

Re: Deleting in a viewport

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 09 Nov 2006 15:58:36 +0000
To: Alex Milowski <alex@milowski.org>
Cc: public-xml-processing-model-wg <public-xml-processing-model-wg@w3.org>
Message-ID: <f5b64do4no3.fsf@erasmus.inf.ed.ac.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alex Milowski writes:

> In smallx I often use viewports to delete subtrees--which is very
> important when you are trying to stream (e.g. delete all the
> atom:entry elements from the atom:feed element while streaming the
> feed).

Provide a builtin 'Delete' component with an XPath parameter.  MT
Pipeline has one and I use it all the time.  It deletes attributes
too, which a Viewport could never do.

ht
- -- 
 Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                     Half-time member of W3C Team
    2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
            Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                   URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFFU1AskjnJixAXWBoRAt6iAJ4hQi9uYQcinTLQ3n0Wl1tSQEQ0EQCeMbvK
u14r8yU79Su20DrZNDH0huI=
=DeTY
-----END PGP SIGNATURE-----
Received on Thursday, 9 November 2006 15:58:46 GMT

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