ITS Inheritance

Just some thoughts about inheritance:

The current specification does not describe precisely how in situ values are inherited, especially for attribute. Is it working
exactly the same way as xml:lang or differently?:

Example 1:

<p its:translate="yes" alt="text">text <img alt="text"/> text</p>

This makes translatable the content of <p> but the values for both alt atr strill not transltable, right?


Example 1:

<p its:translate="yes" translateSelector="@alt" alt="text">text <img alt="text"/> text</p>

This makes the alt attribut of <p> translatable, but not the values of the alt attribute in <img>, right?


Cheers,
-yves

Received on Monday, 23 January 2006 23:34:54 UTC