Correct, you don't need that line if the template matching
the parent element has called apply-templates. You would
need that line if the parent called apply-templates on the
first element only, and then each template would call
apply-templates on the appropriate following-sibling. Its
just two different ways of walking the tree.
If you're concerned about performance, then doing an <apply-templates
select="*[1]"> is likely to be more efficient than doing <apply-templates
select="*"> and supplying a "null" template that matches all children except
the first. (At any rate, it's easier to optimize!)
Michael Kay
http://www.saxonica.com/
--~------------------------------------------------------------------
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>
--~--