Submit and vote on feature ideas.

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.

SoaTest supports Xpath 3.0?

asingh
asingh Posts: 14

Does SoaTest supports Xpath 3.0?

I could see some xpath functions not accessible:

op:date-greater-than($arg1 as xs:date, $arg2 as xs:date) as xs:boolean
op:subtract-dates($arg1 as xs:date, $arg2 as xs:date) as xs:dayTimeDuration

Tagged:

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭

    Does SoaTest supports Xpath 3.0?

    Yes.

    op:date-greater-than($arg1 as xs:date, $arg2 as xs:date) as xs:boolean
    op:subtract-dates($arg1 as xs:date, $arg2 as xs:date) as xs:dayTimeDuration

    Please refer to Operator Mapping. For example, operator function "op:date-greater-than" implements "A gt B" where "A" and "B" are both of type xs:date.

    Examples:
    xs:date("2018-01-02") lt xs:date("2018-01-01")
    xs:date("2018-01-02") gt xs:date("2018-01-01")
    xs:date("2018-01-02") - xs:date("2018-01-01")