<br><div class="gmail_quote">Stefan,<br><br>My apologies and thanks - my eyes obviously weren&#39;t working so well yesterday! The program&#39;s running smoothly now (aside from some &quot;&#39;ascii&#39; codec can&#39;t encode character&quot; exceptions that I&#39;m &quot;try/except&quot;ing until I&#39;ve understood how to handle them with lxml; I realise the docs cover this but I (still) don&#39;t quite understand them all yet). Thanks again.<br>

<br>Gratefully,<br><br>Sam<br><br><br><div class="gmail_quote">2008/5/25 Stefan Behnel &lt;<a href="mailto:stefan_ml@behnel.de" target="_blank">stefan_ml@behnel.de</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
&gt; result = etree.XML(&quot;content.example.xml&quot;, parser)<br></div><div class="Ih2E3d"><div>&gt; result = etree.parse(&quot;thefile.xml&quot;, parser)<br>
<br>
</div>See the difference?<br></div></blockquote></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></div><br>