XPath Error

I'm getting an error when using the xpath expression below.

<par begin="id('BTN_MENU')[state:actioned()=true()] and id('MENU')[style:x()='-450px']"

I want to evaluate the values of two different elements, but cannot get it working.

Any help appreciated.



Answer this question

XPath Error

  • chinmayv84

    That worked - thanks!


  • Morten Nielsen

    Try this:
    <par begin="(id('BTN_MENU')[state:actioned()=1] and id('MENU')[style:x()='-450px'])"


  • XPath Error