Use ends with in XSLT v1.0

后端 未结 5 882
有刺的猬
有刺的猬 2020-11-30 09:58

I am trying to edit a current XSLT. The functionality I want is when the value of \"//code_no\" ends with 01 I want to edit the current city location. Currently this functio

5条回答
  •  生来不讨喜
    2020-11-30 10:29

    I used

    contains($string, $part) and normalize-space(substring-after($string, $part)) = ''
    

    Where

    we are checking if $string ends with $part

提交回复
热议问题