title: XSL:template & Combination of two match conditions to select outer node
body: <p>Given the following (part of a) XML file:</p>
  
  <pre><code>&lt;span deltaxml:deltaV2="A!=B"&gt;
      &lt;deltaxml:attributes deltaxml:deltaV2="A!=B"&gt;
        &lt;dxa:class deltaxml:deltaV2="A!=B"&gt;
          &lt;deltaxml:attributeValue deltaxml:deltaV2="B"&gt;LoF&lt;/deltaxml:attributeValue&gt;
        &lt;/dxa:class&gt;
      &lt;/deltaxml:attributes&gt;
      Some Text
  &lt;/span&gt;
  </code></pre>
  
  <p>... I want / need to match those <code>&lt;span&gt;</code> nodes in a <code>&lt;xsl:template match=".."&gt;</code> statement that target specifically spans with</p>
  
  <ul>
  <li>The span itself having a <em>deltaxml:deltaV2</em> attribute with a '<em>A!=B</em>' value and also </li>
  <li>the exact <em>deltaxml:attributes/dxa:class/deltaxml:attributeValue</em> child structure with this inner-most <em>deltaxml:attributeValue</em> node having that <em>deltaxml:deltaV2</em> attribute set to a '<em>B</em>' value and also containing '<em>LoF</em>' as its value / text</li>
  </ul>
  
  <p>Basically I need to match this exact condition shown above to later select / use the 'Some Text' part.. but that's the easy thing to do once I matched the <code>&lt;span&gt;</code> node(s) in the input xml.. but so far I've been scratching my head and failed to select the node(s).</p>
  
  <p>Maybe anyone is fluent in slightly more complex match statements and knows which one would be the correct one here. Thanks!</p>