Xpath - lock all <ph> elements except those having a particular attribute


We have a dita file for translation, in which we would like to lock/protect all <ph> elements, except those that have the otherprops="forTranslation" attribute value.

One thought we had was to define one-by-one those that should be locked, but in the bigger picture of having hundreds of dita files, we cannot add rules one-by-one.

So, is there a way to do that, with some kind of xpath + exclusion parameter?

Sample file: /cfs-file/__key/communityserver-discussions-components-files/171/1732.78132_5F00_EN.zip

Parents Reply Children
No Data