RE: [xsl] invalid xpath?

Subject: RE: [xsl] invalid xpath?
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 2 Jul 2008 19:22:16 +0100
> In one place the "." slipped into the 
> code instead of "$Arg", and the template operated on the 
> original text node instead of the partly processed one.

This is one advantage of xsl:function over xsl:template - it prevents
inadvertent use of expressions referring to the context node.

Michael Kay
http://www.saxonica.com/

Current Thread