Why don't all XSLT templates get executed at once?
- by Matt W
Refer to: http://stackoverflow.com/questions/1613454/retrieving-one-element-and-filter-by-another
In the above linked posting, 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.
Could someone explain this to my stifled brain, please?
Thanks,
Matt.