Reading a tag from XML and printing it
<p>I have the following input XML file,i read the rel_notes tag and print it...running into the following error</p>

<p>Input   XML:</p>

<pre><code>&lt;rel_notes&gt;
    •   Please move to this build for all further test and development activities 
    •   Please use this as base build to verify compilation and sanity before any check-in happens

&lt;/rel_notes&gt;
</code></pre>

<p>Sample python code:</p>

<pre><code>file = open('data.xml,'r')
from xml.etree import cElementTree as etree
tree = etree.parse(file)
print('\n'.join(elem.text for elem in tree.iter('rel_notes')))
</code></pre>

<p>OUTPUT</p>

<pre><code>   print('\n'.join(elem.text for elem in tree.iter('rel_notes')))
 File "C:\python2.7.3\lib\encodings\cp437.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2022' in position 9: character maps to &lt;undefined&gt;
</code></pre>
