16 May 14:41
Re: bug: objectify removes text on replace()?
From: Stefan Behnel <stefan_ml <at> behnel.de>
Subject: Re: bug: objectify removes text on replace()?
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-16 12:41:44 GMT
Subject: Re: bug: objectify removes text on replace()?
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-05-16 12:41:44 GMT
Hi, Christian Zagrodnick wrote: > with lxml 2.0.4 I get text removed when I replace a node. The text > after the replaced node vanishes... You mean the .tail property of the node that you replace. http://codespeak.net/lxml/tutorial.html#elements-contain-text When you replace the node, it takes its tail with it. Stefan
RSS Feed