Community mailing list archives


Re: xpath on v9 community

Camptocamp SA, Yannick Vaucher
- 31/08/2016 04:31:38

String isn't usable anymore because of translation being made before the xpath is applied. Thus, your xpath will only work in english.
The check can be bypassed in some case with a complexe xpath including a string that is undetected but this is clearly a bad idea as it would become english only and would raise a view error for other languages (if the translation of the String is different).


Yannick Vaucher
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 30
Office: +41 21 619 10 10

On 23 August 2016 at 18:10, Ondřej Kuzník <> wrote:
On 23/08/16 16:37, Kristian Koci wrote:
> Hi Community
> I'm presenting a problem, and a little confusion about this
> As You know, on v9, you can't put *'string'* on xpath anymore, but, what
> if I want to inherit a  which has a string as name? ie. * string="Bill">*, and I want to put an element after this page ie.
> *<xpath expr="//page[@name='Bill']" position="after">

You should still be able to do //page[@string='Bill']



credativ Ltd
Open Source for Business
UK office:  +44 1788 298150
Suite 5 | Bloxam Court | Corporation Street | Rugby | CV21 2DU | UK

We would love to hear your thoughts on our service!
Please send your comments to

credativ Ltd is registered in England & Wales, company no. 5261743
Certified by CompTIA / AccredITUK with the ICT Supply standard of
quality for Software Product Design and Development

Post to: