Subject: Re: Seeking XPATH
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Mar 2001 18:46:55 GMT
|
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
|