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 Antoine2008
Recipients Antoine2008
Date 2013-02-05.19:42:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360093345.6.0.651330972741.issue17138@psf.upfronthosting.co.za>
In-reply-to
Content
$ python3
Python 3.3.0 (default, Jan 25 2013, 09:38:18) 
[GCC 4.4.5] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.etree.ElementTree as ET
>>> xml = ET.fromstring("<root><h1>1</h1><p><h1>2</h1></p></root>")
>>> result = xml.find(".//h1[2]")        
>>> print(result)
None

========================================================================
Expected result : "<Element 'h1' at ...>"  (<h1>2</h1>)
History
Date User Action Args
2013-02-05 19:42:25Antoine2008setrecipients: + Antoine2008
2013-02-05 19:42:25Antoine2008setmessageid: <1360093345.6.0.651330972741.issue17138@psf.upfronthosting.co.za>
2013-02-05 19:42:25Antoine2008linkissue17138 messages
2013-02-05 19:42:25Antoine2008create