[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Calling templates based on node contents


Subject: RE: [xsl] Calling templates based on node contents
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 19 Aug 2004 10:07:05 +0100

> Given that (as surely every XSLT programmer learned in XSLT 
> school) "." is 
> short for "self::node()", I should think this match would 
> give you an error 
> in a conformant processor.
> 

Correct. Quite apart from the fact that the self axis can't be used in
patterns, "." is not a legal pattern according to the grammar.

Michael Kay


Current Thread
Keywords