xpath escape '

<xpath expr="//t[@t-if= &quot;not o.type == 'out_refund'&quot;]/table" position="replace">


在xpath中,需要对一些特殊标点符号转义
1,小于号 <  转义成  &lt;
2,大于号 >  转义成 &gt;
3,&符号     转义成  &amp;
4,双引号"   转义成  &quot;
5,单引号'    转义成  &apos;

Guess you like

Origin www.cnblogs.com/plusUltra/p/11115790.html
Recommended