[xsl] Matching text nodes

Subject: [xsl] Matching text nodes
From: Nacho <nacho@xxxxxxxx>
Date: Sun, 24 Dec 2000 03:06:07 +0100
Hola a Todos:

I'm trying to do a style sheet that matches text nodes as in :

  <xsl:template match="text()" >
	<xsl:value-of select="concat('[',.,']')"/>
  </xsl:template>

nothing is matched, but when i do this in this way ( AFAIK this does the
same )

  <xsl:template match="*/text()" >
	<xsl:value-of select="concat('[',.,']')"/>
  </xsl:template>

evrything is ok, i can understand why second works , but why first not ?


FYI i'm using Oracle 2.0.9 parser in W2k..


Saludos ,
Ignacio J. Ortega

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread