Detecting language please wait for.......
Hi, I have an xml file created in Schema ST4, which has the following structure:
I am not an expert of Xpath, but I have understood enough having been able to use them since quite long time.
1) I would expect to get the text of all instruction tags with theses paths...//instruction (always translate)//* (never translate)
But I receive nothing...
... only if I add all the parent/ancestor elements of instruction I get my instruction texts...
2) I would expect to get the text of all instruction tags with theses paths...//tms/tmsnode/content/texmodule/procedural-instructions/instructions/instruction (always translate)//* (never translate)
But this does not deliver any results neither. I checked the expression online on a XPath Tester and it works fine. I would need this one to exclude some parts from translation, but I don't understand why i doesnt work.Thnx in advance.Burim
Try setting the rule as "Immer zu übersetzen".
It works here though...
Instead of screenshots why don't you provide a file to work with? I don't mind creating example files when they are small but clearly I need to follow the structure of your file... so please provide files.
sorry, next time I will provide a file from the start. I didn't think about that being easier, as I wanted to show my problem in the screenshots. But of course I could have added the file next to the screenshots.To summarise:1) it works with (immer zu übersetzen)I just usually use "zu übersetzen (jedoch nicht in geschützem Inhalt)" because in the xml files I have known so far there are "not to translate" tags. There it wouldn't be recommended to put the paths to "immer übersetzen", would it?2) //tms/tmsnode/content/textmodule/procedural-instructions/instructions/instructionI had a "t" missing in "textmodule" :-(It seems, as if you have solved my problem. I will do some tests and if I get stuck again I will provide my questions with the file.Thnx a lot.