title: Why don't all XSLT templates get executed at once?
body: <p>In the <a href="https://stackoverflow.com/questions/1613454/retrieving-one-element-and-filter-by-another">this posting</a>, I don't understand why the two template blocks don't get executed upon in the incoming XML at the same time. As far I can can see, the XSL risks the second template executing for every Document element whether it is called with apply-templates or not.</p>
  
  <p>Could someone explain this?</p>