Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Can I use any other xpath functions other than "local-name" and "text" in Request Body corelation?

prashantdh
prashantdh Posts: 5

Tagged:

Comments

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 228 ✭✭✭

    @prashantdh
    yes, the part (Xpath) which you have on screenshot, bellow section Function and Value allows you to edit particular Xpath and provide your own Xpath's functions

    --
    Ireneusz Szmigiel
    http://www.catb.org/esr/faqs/smart-questions.html

  • benken_parasoft
    benken_parasoft Posts: 1,306 ✭✭✭

    You can run any XPath 1.0 or 2.0 expression you like. However, you generally want the expression to return true or false, where true means that the correlation succeeds. Otherwise, usual XPath rules for true/false apply. See Effective Boolean Value.

  • benken_parasoft
    benken_parasoft Posts: 1,306 ✭✭✭
    edited April 2018

    You can run any XPath 1.0 or 2.0 expression you like.

    Or 3.0 :). The XPath processor actually supports most functions and operators from 3.0 as well.