Matthew Thorley napisaƂ(a):

> The output I get shows xmla as nicely formatted text, with elements on 
> different lines and everything all tabbed and pretty. Inverly, xmlb is 
> one long string on one line.
> 
> Is that because the some_file.xml is already nicely formatted? I thought 
> that the formatting was ignored when creating new elements.

Why want you to read an XML document "by hand"? It's a "machine related" 
data chunk.

Document formatting should be done by means of CSS and/or XSL stylesheet.

-- 
Jarek Zgoda
http://jpa.berlios.de/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to