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]

Re: Seeking XPATH



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


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