Detecting language please wait for.......
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
This is the XPath to find all "ph" elements which do not have "otherprops" attribute equal to "forTranslation" value (I didn't test if it works in Studio, though):
//ph[not(@otherprops = 'forTranslation')]