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

Yves Savourel wrote:

> In the second paragraph:
> 
> <p trans="false">some text <code>code <textInCode>text in code</textInCode>code</code>.</p>
> 
> The content of <textInCode> should be not translatable because trans='true' in the <p> element.
> 
> That is assuming trans='true|false' has the same behaviour as its:translate, (like a dita:translate).

No, Inheritance only kicks in if there is no more specific rule. the
innermost <textInCode> has translate=yes because we attach that
attribute all instances of the <textInCode>. The local
"its:translate='yes'" has the highest priority, but its _inheritance_
does not take precedence over other rules. Inheritance has the
lowest priority.
-- 
Sebastian Rahtz

*Open Source and Sustainability*
10-12 April 2006, Oxford
http://www.oss-watch.ac.uk/events/2006-04-10-12/

Information Manager, Oxford University Computing Services
13 Banbury Road, Oxford OX2 6NN. Phone +44 1865 283431

OSS Watch: JISC Open Source Advisory Service
http://www.oss-watch.ac.uk

Received on Monday, 27 March 2006 09:01:01 UTC