Re: p:set-attributes

/ Alex Milowski <alex@milowski.org> was heard to say:
| Yes, this kind of construct is essential to building streaming pipelines.

Such as? (I'm not doubting you, I just don't see it; probably I'm
being clueless.)

| If we do, should we make it p:copy-attributes and have it not delete the
|> originals (if you want to delete the originals, you can do it with a
|> preceding step).
|
| Sometimes you don't know what attributes are on the target element.

delete match="element/@*"

| And should we add a "target" option so that the attributes can be set
|> on any element not only the root element?
|
| Probably.
|
| If it is a match pattern, then some uses won't stream.  I'm OK with that.
|
| If it is just an element name, then all cases would stream.

I'd rather not introduce a new kind of expression.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | The great man is he who has not lost
http://nwalsh.com/            | the heart of a child.-- Mencius

Received on Sunday, 29 April 2007 21:39:33 UTC