title: XSL template precedence
body: <p>I have 2 Templates</p>
  
  <pre><code>&lt;template match="vehicle_details[preceding-sibling::vehicle_type = '4x4']/*"&gt;
      ...
  &lt;/xsl:template&gt;
  &lt;xsl:template match="vehicle_details[descendant::color = 'red']/*" &gt;
      ...
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>My question is: which template will take precedence on transformation. And can someone give me an overview/resources about XSL template precedence?</p>
  
  <p>Thanks in advance!</p>