XML : Xpath find all elements that their attribute is even using mod operation

Id is attribute of book and book is element in bookstore element. This is what I am trying to do:

   /bookstore/book[id mod 2=0]    

it's not execute.
I think I have syntax problem but I couldn't find solution for this.
Thanks for the help.

No comments:

Post a Comment