title: Parse XML file - can't get all elements
body: <p>I have this <a href="http://pastebin.com/q64L3ECX" rel="nofollow noreferrer">XML</a>.</p>
  
  <p>I need to get both <code>test_set_name</code> and <code>test_case_name</code> or in other words, I need the 3 <code>test_case_name</code> but also the corresponding <code>test_set_name</code> where they belong. I need this using xPath but I can get only one element.</p>
  
  <p>The import is to be made in a drupal site but I think this issue is not related with Drupal itself. I use a module for the parsing that asks me for the <code>Context</code> and all the fields that I want to get. I tried <code>/report/test_sets</code> as Context but I only get the first test_case_name of each test_set.</p>
  
  <p>Do I have to do it in two steps?</p>
  
  <p>I want to get this data (2 <code>test_set</code> and 3 <code>test_case</code>):</p>
  
  <pre><code>xpathparser:0 :
  &lt;test_set_name tl_label="Name" tl_name="name" tl_physicalname="CY_CYCLE"&gt;GUI.00 Launch Applications&lt;/test_set_name&gt;
  &lt;test_set_name tl_label="Name" tl_name="name" tl_physicalname="CY_CYCLE"&gt;GUI.02 EM NE.000 EM NE Generic.Generic EM NE tests&lt;/test_set_name&gt;
  xpathparser:1 :
  &lt;test_case_name tp_label="Test Name" tp_name="name" tp_physicalname="TS_NAME"&gt;Launch TNMS&lt;/test_case_name&gt;
  &lt;test_case_name tp_label="Test Name" tp_name="name" tp_physicalname="TS_NAME"&gt;Open&lt;/test_case_name&gt;
  &lt;test_case_name tp_label="Test Name" tp_name="name" tp_physicalname="TS_NAME"&gt;ManualNetworkScan&lt;/test_case_name&gt;
  </code></pre>
  
  <p>I'm using <code>Feeds</code> module in Drupal. Here is the xPath Parser Settings:
  <a href="https://i.stack.imgur.com/S8gLb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S8gLb.png" alt="enter image description here"></a></p>