RE: Directionality Scope/inheritance issue (same as translatability)

Felix, thanks for taking the time to write down the steps.

I'm still a bit unclear on how you apply a rule to the children of the its selection node.
For example, in the case of p[2] you have:

<p trans="false" its:translate-global-4="no">some text <code its:translate-global-2="no">code <textInCode
its:translate-global-1="yes">text in code</textInCode>code</code>.</p>

That is:

/myDoc/body/p[2]/: its:translate-global-4="no"
/myDoc/body/p[2]/code: its:translate-global-2="no"
/myDoc/body/p[2]/code/textInCode: its:translate-global-1="yes"

Which means (looking at your description for p[1]) that the content of <textInCode> would be translated.

But it's wrong since the trans='false' in <p> should overwrite it, if it is to behave like its:translate.

Am I missing something?

Cheers,
-yves

Received on Saturday, 25 March 2006 14:30:26 UTC