RE: [xsl] Using name in Xpath

Subject: RE: [xsl] Using name in Xpath
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 23 May 2002 19:08:47 +0100
> Am I using name() incorrectly in the following xpath?
> 		<xsl:value-of
select="$emailData/data/[name()=$pSite]/reply_to" />

You are using predicates incorrectly. I can't correct it for you because
I have no idea what you thought it might mean, but a predicate can only
follow a step, e.g.

child::element[predicate]

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread