xsl-list
[Top] [All Lists]

[xsl] xpath query question

2006-08-10 17:09:12
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>