xsl-list
[Top] [All Lists]

RE: [xsl] invalid xpath?

2008-07-02 11:23:36
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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