title: For each loop in xslt 1.0
body: <p>How to write a <code>for-each</code> loop in xslt 1.0 which only consider <code>Subbranch</code> elements with ID=11 and 12, ignoring 13 and 14.</p>
  <pre><code>&lt;root&gt;
    &lt;branch ID='1'&gt;
      &lt;subbranch ID='11'&gt;
        &lt;Values DataType='String'&gt;
          &lt;Value StringLength='3'&gt;abc&lt;/Value&gt;
        &lt;/Values&gt;
      &lt;/subbranch&gt;
      &lt;subbranch ID='12'&gt;
        &lt;Values DataType='String'&gt;
          &lt;Value StringLength='3'&gt;def&lt;/Value&gt;
        &lt;/Values&gt;
      &lt;/subbranch&gt;
      &lt;subbranch ID='13'&gt;
        &lt;Values DataType='String'&gt;
          &lt;Value StringLength='3'&gt;uvw&lt;/Value&gt;
        &lt;/Values&gt;
      &lt;/subbranch&gt;
      &lt;subbranch ID='14'&gt;
        &lt;Values DataType='String'&gt;
          &lt;Value StringLength='3'&gt;xyz&lt;/Value&gt;
        &lt;/Values&gt;
      &lt;/subbranch&gt;
    &lt;/branch&gt;
  &lt;/root&gt;
  </code></pre>