RE: [xsl] xsl for two type of document

Subject: RE: [xsl] xsl for two type of document
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 17 Jul 2003 18:44:16 +0100
> 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


Current Thread