定位表达式不能使用会被翻译的属性:
** ‘string’, ‘help’, ‘sum’, ‘avg’, ‘confirm’, ‘placeholder’, ‘alt’, ‘title’,**
因此这些属性不能被作为xpath的表达式。如:
<xpath expr="//page[@string='Contacts']" position="attributes">
定位表达式不能使用会被翻译的属性:
** ‘string’, ‘help’, ‘sum’, ‘avg’, ‘confirm’, ‘placeholder’, ‘alt’, ‘title’,**
因此这些属性不能被作为xpath的表达式。如:
<xpath expr="//page[@string='Contacts']" position="attributes">