This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jlaurens
Recipients jlaurens
Date 2015-04-29.23:34:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430350495.43.0.91352789573.issue24079@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for xml.etree.ElementTree.Element.text reads "If the element is created from an XML file the attribute will contain any text found between the element tags."

import xml.etree.ElementTree as ET
root3 = ET.fromstring('<a><b/>TEXT</a>')
print(root3.text)

CURRENT OUTPUT

None

"TEXT" is between the elements tags but does not appear in the output

BTW : this is well formed xml and has nothing to do with tail.
History
Date User Action Args
2015-04-29 23:34:55jlaurenssetrecipients: + jlaurens
2015-04-29 23:34:55jlaurenssetmessageid: <1430350495.43.0.91352789573.issue24079@psf.upfronthosting.co.za>
2015-04-29 23:34:55jlaurenslinkissue24079 messages
2015-04-29 23:34:55jlaurenscreate