My understanding of the above template is that is will match all tree_node
elements,
It does, but unless you apply templates to a node then it doesn't matter
which templates match that node, nnoe of them will be run.
You don't have a template matching tree, so the default template is used
that applies templates to its children. The child tree_node is then
matched to your template, but that doesn't use apply-templates so the
matching process is terminated at that point. As the if test is true you
get the value of the attribute then the processing stops.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--