Subject: RE: [xsl] Combining consecutive siblings From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Tue, 13 Jun 2006 11:04:48 +0100 |
> 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/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Combining consecutive sib, andrew welch | Thread | [xsl] Final Announcement: XML Pragu, James Fuller |
Re: [xsl] Combining consecutive sib, andrew welch | Date | Re: [xsl] Final Announcement: XML P, Chad Chelius |
Month |