title: Select template for execution using a condition including variable on apply-templates
body: <p>I have a template that looks like below </p>
  
  <blockquote>
    <p><strong>&lt;xsl:template match="more-info" mode="docuSection">
    html
    &lt;/xsl:template></strong></p>
  </blockquote>
  
  <p>and which is applied with the call </p>
  
  <blockquote>
    <p><strong>&lt;xsl:apply-templates select="." mode="docuSection"/></strong></p>
  </blockquote>
  
  <p>so the template is applied when the current node has <strong>more-info</strong> element, is there a way to make this template get applied with the same call and with the condition which includes a global variable e.g. match="$mode='edit' or more-info"</p>
  
  <p>Best Regards,
  Keshav</p>