Pyson syntax for 'states' attribut in a view

Fine, i’d be glad to be of any help.

Not sure how to contribute to the docs…

Nevertheless, I’m trying to write some code for testing the clients behavior.
But I can’t manage to access fields with xpath. I tried to use : ‘//field[@id=“field_id”]’ but doesn’t seems to work by any mean…
How to do so (could find any example in modules source code, exepted for the above widgets).