<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=562112817-19032008><FONT face=Arial size=2>I am appending one
lxml tree's root element into another lxml tree. Everything seems to work
fine until I serialize (a.k.a. tostring) the containing tree. At which
point everything is serialized, however the appended subtree ignores the given
pretty_print setting. Is there a way to have the included tree
be just more elements in the bigger tree? Or, do I misunderstand the
problem.</FONT></SPAN></DIV>
<DIV><SPAN class=562112817-19032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=562112817-19032008><FONT face=Arial size=2>Note that I haven't
updated to lxml 2 yet.</FONT></SPAN></DIV>
<DIV><SPAN class=562112817-19032008><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial
size=2>python:
2.5.1<BR>lxml.etree: (1, 3, 3,
0)<BR>libxml used: (2, 6, 30)<BR>libxml
compiled: (2, 6, 29)<BR>libxslt used:
(1, 1, 21)<BR>libxslt compiled: (1, 1, 21)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=562112817-19032008>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV align=left><STRONG><FONT face=Arial size=2>John W.
Lovell</FONT></STRONG></DIV>
<DIV align=left><FONT face=Arial size=2>Web Applications Engineer</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Northwest Educational Service
District</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>1601 R Avenue</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Anacortes, WA 98221</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2><A
href="http://www.esd189.org/">www.esd189.org</A></FONT></DIV>
<DIV align=left><EM><FONT face=Arial size=2>Together We Can
...</FONT></EM></DIV>
<DIV> </DIV></BODY></HTML>