This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Matching text nodes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]