Re: lxml/ElementTree and .tail
- From: "Paul Boddie" <paul@xxxxxxxxxxxxx>
- Date: 16 Nov 2006 01:59:52 -0800
Stefan Behnel wrote:
[Remove an element, remove following nodes]
Yes, it is. Just look at the API. It's an attribute of an Element, isn't it?
What other API do you know where removing an element from a data structure
leaves part of the element behind?
I guess it depends on what you regard an element to be...
[...]
IMHO, DOM has a pretty significant mismatch with Python.
....in the DOM or otherwise:
http://www.w3.org/TR/2006/REC-xml-20060816/#sec-logical-struct
Paul
.
- Follow-Ups:
- Re: lxml/ElementTree and .tail
- From: Fredrik Lundh
- Re: lxml/ElementTree and .tail
- References:
- lxml/ElementTree and .tail
- From: Chas Emerick
- Re: lxml/ElementTree and .tail
- From: Stefan Behnel
- lxml/ElementTree and .tail
- Prev by Date: Re: Secure Python
- Next by Date: Re: Will GPL Java eat into Python marketshare?
- Previous by thread: Re: lxml/ElementTree and .tail
- Next by thread: Re: lxml/ElementTree and .tail
- Index(es):
Relevant Pages
|