I am having trouble using the attribute XPath Selector in ElementTree, which I should be able to do according to the Documentation
Here's some sample code
XML
<root>
 <target name="1">
    <a></a>
    <b></b>
 </target>
 <target name="2">
    <a></a>
    <b></b>
 </target>
</root>
Python
def parse(document):
    root = et.parse(document)
    for target in root.findall("//target[@name='a']"):
        print target._children
I am receiving the following Exception:
expected path separator ([)
 
     
     
    