[xsl] xpath query question

Subject: [xsl] xpath query question
From: "Andrei Matei" <AndreiMatei@xxxxxxxx>
Date: Fri, 11 Aug 2006 03:09:11 +0300
Hello all,

I want to ask you if I can do something with xpath. I have an xml that
looks like this:

<a>
  <b>
   content 1
  </b>
  <b>
   content 2
  </b
  ..
</a>

I want an xpath expression that would tell me if all the contents of the b
nodes are the same. For the example above this wouldn't happen, because
"content 1" != "content 2". It doesn't matter what the expression would
output (the first b would be great). Is this possible with xpath?

Thanks a lot,

Andrei

Current Thread