SoaTest supports Xpath 3.0?

asinghasingh 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_parasoftbenken_parasoft Posts: 511 ✭✭✭

    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")

Sign In or Register to comment.