This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Seeking XPATH
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Seeking XPATH
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Tue, 6 Mar 2001 18:46:55 GMT
- References: <008001c0a669$fa18cc80$89ef3ec6@entilzah>
- Reply-To: xsl-list at lists dot mulberrytech dot com
try again.
A[
B[@NM = "case1"]/text() = A[B[@NM = "case3"]/text()]
]
So that selects A nodes for which the filter is true.
B[@NM = "case1"]/text()
is the node set of three text nodes
{ " " , " " , " --- " }
but in the right hand side you have the path A which looks for A
children of the current A node. I'm not sure quite what you intended,
either . or ../A presumably.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list