XPath for ST4 file: Parsel rules don't react as expected?!

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

Top Replies