How to parse the following XML to give me output as **@test : Error Msg**?

**XML**

```
<?xml version='1.0' encoding='UTF-8'?>
  <featureResults>
      <feature>
        <comments/>
        <keyword>Feature</keyword>
        <name>Test Feature</name>
        <line>2</line>
        <description></description>
        <tags>
          <Tag>
            <name>@test</name>
            <line>1</line>
          </Tag>
        </tags>
        <id>Test feature</id>
      </feature>
      <uri>Test.feature</uri>
      <scenarioResults>
          <scenario>
            <comments/>
            <keyword>Scenario Outline</keyword>
            <name>Login-logout from Test</name>
            <line>11</line>
            <description></description>
            <tags>
              <Tag>
                <name>@test</name>
                <line>1</line>
              </Tag>
              <Tag>
                <name>@test1</name>
                <line>4</line>
              </Tag>
            </tags>
            <id>Test-feature;login-logout-from-Test;;2</id>
            <type>scenario</type>
          </scenario>
          <steps>
            <StepResult>
              <step>
                <comments/>
                <keyword>Given </keyword>
                <name>navigate to &quot;Hello&quot;</name>
                <line>6</line>
              </step>
              <result>
            <status>failed</status>
            <duration>90475603939</duration>
            <error__message>Error Msg </error__message> 
             </result>
               </scenario>
               </StepResult>
                  </ScenarioResult>

```

Here is the Python script I tried using lxml element tree but it gives me null value on print failures:

```
  failures = {}
  doc = etree.parse(os.path.join(Given.xml))
  root = doc.getroot()
  for case in root.findall(".//ScenarioResult"):
     for test in case.findall(".//tags"):
             test.find(".//name").text
             error__message = case.find("error__message")
             if error__message is None:
                    continue
             failures[name] = (error__message.text[:200] + '..') if len(error__message.text) > 200 else error__message.text

```

Any help would be appreciated Thanks.