Message181473
$ 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>) |
|
Date |
User |
Action |
Args |
2013-02-05 19:42:25 | Antoine2008 | set | recipients:
+ Antoine2008 |
2013-02-05 19:42:25 | Antoine2008 | set | messageid: <1360093345.6.0.651330972741.issue17138@psf.upfronthosting.co.za> |
2013-02-05 19:42:25 | Antoine2008 | link | issue17138 messages |
2013-02-05 19:42:25 | Antoine2008 | create | |
|