[lxml-dev] Question about newlines
Noah Slater
nslater at bytesexual.org
Sun Dec 9 13:49:34 CET 2007
On Sun, Dec 09, 2007 at 08:48:17AM +0100, Stefan Behnel wrote:
> Serialisation will never alter content.
[snip]
> > 1) When adding a PI via the element.addprevious method and PI has
> > it's tail trimmed and so when serialising the PI runs into the
> > root element.
Well, this is well and good but lxml REMOVES the PI tail so I cannot
insert a newline even if I want to.
--
Noah Slater <http://bytesexual.org/>
"Creativity can be a social contribution, but only in so far as
society is free to use the results." - R. Stallman
More information about the lxml-dev
mailing list