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]
Other format: [Raw text]

RE: Using name in Xpath


> 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@ntlworld.com
work: Michael.Kay@softwareag.com 


 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]