xsl-list
[Top] [All Lists]

RE: xsl for two type of document

2003-07-17 10:44:16
what is the most expression on time execution:
is <xsl:apply-templates select="/*/doccontent/docbody"/>
or <xsl:apply-templates
select="/*[name()=$racine]/doccontent/docbody"/>


If the expressions are guaranteed to give the same answer then the
predicate is not doing anything useful, so leave it out.

If they don't give the same answer, then use the one that is correct and
forget whether it is faster or not.

Michael Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>