RE: [xsl] A non self closed xsl:apply-templates element to create a text node for matching ...

Subject: RE: [xsl] A non self closed xsl:apply-templates element to create a text node for matching ...
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 5 Dec 2006 23:27:54 -0000
> various ways of combining those:
> 
> <xsl:template match="node()[self::text() or (not(self::*) and 
> name()='href')][ starts-with( ., '../Russia2006/' ) ]">

A rare slip there, David. node() means child::node() and won't match an
attribute.

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

Current Thread