xpath for-each multiple conditions

Posted by Cesar Lopez on Stack Overflow See other posts from Stack Overflow or by Cesar Lopez
Published on 2010-03-14T11:15:45Z Indexed on 2010/03/14 11:25 UTC
Read the original article Hit count: 227

Filed under:
|

What is wrong with the following line?

<xsl:for-each select="//Node1/Node2/Node3 [.!='Primary' or .!='Secondary' ]">

Trying to select all elements where Node3 is not Primary o Secondary.

Thanks.

© Stack Overflow or respective owner

Related posts about xpath

Related posts about xslt