|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Can templates be invoked based on the value of a
pilgrim cnonline.net schrieb:
New question: Is there any execution efficiency advantage between using "child::*" or "element()"?
<xsl:apply-templates select="*"/>
<xsl:apply-templates select="child::*"/>
<xsl:apply-templates select="element()"/>
<xsl:apply-templates select="child::element()"/>But I'm not an implementor, so I have no idea. Execution efficiency is always processor dependent. What leads to good execution in one processor doesn't have to do so in another. If you want to find out, install various processors and collect some empirical data. Doing this for a couple of well-understood test-cases and a couple of processors, you'll get a feeling for what's efficient and what isn't, and how processors vary. In general, I've found <xsl:key> very versatile and useful in order to allow both cleaner code and faster execution. Michael Ludwig
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








