- From: CVS User ysavoure <cvsmail@w3.org>
- Date: Mon, 17 Jun 2013 10:24:48 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv22357 Modified Files: its20.html its20.odd Log Message: edits in 2.2 --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/17 10:16:09 1.458 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/17 10:24:47 1.459 @@ -405,7 +405,7 @@ stored as an external entity)</p></li><li><p>ITS data categories can designate attribute values (as well as elements)</p></li><li><p>It is possible to associate ITS markup with existing markup (for example the <code>term</code> element in DITA)</p></li></ul><p>The commonality in both examples above is the markup <code>translate='no'</code>. This piece of ITS markup can be interpreted as follows:</p><ul><li><p>it pertains to the <a href="#trans-datacat" shape="rect">Translate</a> data category </p></li><li><p>the attribute <code class="its-attr-markup">translate</code> holds a value of "no"</p></li></ul></div></div><div class="div2"> -<h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-overinher" id="basic-concepts-overinher" shape="rect"/>2.3 Overriding, Inheritance and Defaults</h3><p>The power of the ITS selection mechanisms comes at a price: rules related to <a href="#selection-precedence" shape="rect">overriding/precedence</a>, and <a href="#datacategories-defaults-etc" shape="rect">inheritance</a>, have to be established.</p><p>The document in <a href="#EX-basic-concepts-3" shape="rect">Example 5</a> shows how inheritance +<h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="basic-concepts-overinher" id="basic-concepts-overinher" shape="rect"/>2.3 Overriding, Inheritance and Defaults</h3><p>The power of the ITS selection mechanisms comes at a price: rules related to <a href="#selection-precedence" shape="rect">overriding/precedence</a> and <a href="#datacategories-defaults-etc" shape="rect">inheritance</a> have to be established.</p><p>The document in <a href="#EX-basic-concepts-3" shape="rect">Example 5</a> shows how inheritance and overriding work for the <a href="#trans-datacat" shape="rect">Translate</a> data category:</p><ul><li><p>The ITS default is that all elements are translatable.</p></li><li><p>The <code class="its-elem-markup">translateRule</code> element declared in the header overrides the default for the <code>head</code> element inside text and for all its children.</p></li><li><p>Because the <code>title</code> element is actually translatable, the global rule needs to be overridden by a local <code>its:translate="yes"</code>.</p></li><li><p>In the body of the document the default applies, and <code>its:translate="no"</code> is used to set "faux pas" as non-translatable.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-basic-concepts-3" id="EX-basic-concepts-3" shape="rect"/>Example 5: Overriding and Inheritance</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096"><text</strong> <span class="hl-attribute" style="color: #F544C">xmlns:its</span>=<span class="hl-value" style="color: #993300">"http://www.w3.org/2005/11/its"</span><strong class="hl-tag" style="color: #000096">></strong>
 <strong class="hl-tag" style="color: #000096"><head></strong>
 <strong class="hl-tag" style="color: #000096"><revision></strong>Sep-10-2006 v5<strong class="hl-tag" style="color: #000096"></revision></strong>
 @@ -430,7 +430,8 @@ data category can add information to selected nodes (using a <code class="its-elem-markup">locNote</code> element), or point to existing information elsewhere in the document (using a <code class="its-attr-markup">locNotePointer</code> attribute).</p><p>The <a href="#datacategories-overview" shape="rect">data category overview table</a>, in <a class="section-ref" href="#datacategories-defaults-etc" shape="rect">Section 8.1: Position, Defaults, Inheritance and Overriding of Data Categories</a>, provides an overview of which - data categories allow to add information, and which allow to point to existing information.</p><p>Adding information and pointing to existing information are + data categories allow the addition of information and which allow to point to existing + information.</p><p>Adding information and pointing to existing information are <em>mutually exclusive</em>: attributes for adding information and attributes for pointing to the same information must not appear at the same rule element.</p></div><div class="div2"> <h3><a href="#contents" shape="rect"><img src="images/topOfPage.gif" align="right" height="26" width="26" title="Go to the table of contents." alt="Go to the table of contents."/></a><a name="specific-HTML-support" id="specific-HTML-support" shape="rect"/>2.5 Specific HTML support</h3><p>For applying ITS 2.0 data categories to HTML, five aspects are of importance:</p><ol class="depth1"><li><p>global approach</p></li><li><p>local approach</p></li><li><p>HTML markup with ITS 2.0 counterparts</p></li><li><p>standoff markup in HTML5</p></li><li><p>HTML version</p></li></ol><p>In the following sections these aspects are briefly discussed.</p><div class="div3"> --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/17 10:12:40 1.461 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/17 10:24:48 1.462 @@ -628,8 +628,8 @@ <head>Overriding, Inheritance and Defaults</head> <p>The power of the ITS selection mechanisms comes at a price: rules related to <ref - target="#selection-precedence">overriding/precedence</ref>, and <ref - target="#datacategories-defaults-etc">inheritance</ref>, have to be established.</p> + target="#selection-precedence">overriding/precedence</ref> and <ref + target="#datacategories-defaults-etc">inheritance</ref> have to be established.</p> <p>The document in <ptr target="#EX-basic-concepts-3" type="exref"/> shows how inheritance and overriding work for the <ref target="#trans-datacat">Translate</ref> data category:</p> <list type="unordered"> @@ -655,7 +655,8 @@ <att>locNotePointer</att> attribute).</p> <p>The <ref target="#datacategories-overview">data category overview table</ref>, in <ptr target="#datacategories-defaults-etc" type="specref"/>, provides an overview of which - data categories allow to add information, and which allow to point to existing information.</p> + data categories allow the addition of information and which allow to point to existing + information.</p> <p>Adding information and pointing to existing information are <emph>mutually exclusive</emph>: attributes for adding information and attributes for pointing to the same information must not appear at the same rule element.</p>
Received on Monday, 17 June 2013 10:24:54 UTC