- From: Felix Sasaki via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 20 Aug 2012 11:12:28 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory hutz:/tmp/cvs-serv26107 Modified Files: its20.html its20.odd Log Message: added linsk to the paragraphs relevant for the test suite Index: its20.odd =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- its20.odd 20 Aug 2012 11:02:23 -0000 1.117 +++ its20.odd 20 Aug 2012 11:12:26 -0000 1.118 @@ -2158,7 +2158,7 @@ attributes. The default is that elements are translatable and attributes are not.</p> - <p>GLOBAL: The <gi>translateRule</gi> element contains the following:</p> + <p xml:id="translate-global">GLOBAL: The <gi>translateRule</gi> element contains the following:</p> <note type="ed"><emph>All</emph> selector related definitions has to be update to reflect queryLanguage</note> <list type="unordered"> @@ -2176,7 +2176,7 @@ <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-translate-selector-1.xml" /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#trans-datacat" + <p xml:id="translate-local">LOCAL: The following local markup is available for the <ref target="#trans-datacat" >Translate</ref> data category:</p> <list type="unordered"> <item>A <att type="class">translate</att> attribute with the value <val>yes</val> or @@ -2308,7 +2308,7 @@ textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes.</p> - <p xml:id="locNote-global">GLOBAL: The <gi>locNoteRule</gi> element contains the following:</p> + <p xml:id="localizationnote-global">GLOBAL: The <gi>locNoteRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" @@ -2369,7 +2369,7 @@ target="examples/xml/EX-locNoteRefPointer-attribute-1.xml" /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#locNote-datacat" + <p xml:id="localizationnote-local">LOCAL: The following local markup is available for the <ref target="#locNote-datacat" >Localization Note</ref> data category:</p> <list type="unordered"> <item><p>One of the following:</p> @@ -2550,7 +2550,7 @@ rules, or locally on an individual element. There is no inheritance. The default is that neither elements nor attributes are terms.</p> - <p>GLOBAL: The <gi>termRule</gi> element contains the following:</p> + <p xml:id="terminology-global">GLOBAL: The <gi>termRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" @@ -2587,7 +2587,7 @@ target="examples/xml/EX-terms-selector-3.xml" /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#terminology" + <p xml:id="terminology-local">LOCAL: The following local markup is available for the <ref target="#terminology" >Terminology</ref> data category:</p> <list type="unordered"> <item>A <att type="class">term</att> attribute with the value <val>yes</val> or @@ -2744,7 +2744,7 @@ global rules, or locally on an individual element. The information applies to the textual content of the element, <emph>including</emph> child elements and attributes. The default is that both elements and attributes have the directionality of left-to-right.</p> - <p>GLOBAL: The <gi>dirRule</gi> element contains the following:</p> + <p xml:id="directionality-global">GLOBAL: The <gi>dirRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -2768,7 +2768,7 @@ /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#directionality" + <p xml:id="directionality-local">LOCAL: The following local markup is available for the <ref target="#directionality" >Directionality</ref> data category:</p> <list type="unordered"> <item>A <att type="class">dir</att> attribute with the value <val>ltr</val>, <val>rtl</val>, @@ -2885,7 +2885,7 @@ <p>The <ref target="#ruby-annotation">Ruby</ref> data category can be expressed with global rules, or locally. There is no inheritance.</p> - <p>GLOBAL: The <gi>rubyRule</gi> element contains the following:</p> + <p xml:id="ruby-global">GLOBAL: The <gi>rubyRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies. This is @@ -2911,7 +2911,7 @@ /> </exemplum> - <p>LOCAL: In a document, the <ref target="#ruby-annotation">Ruby</ref> data category is realized + <p xml:id="ruby-local">LOCAL: In a document, the <ref target="#ruby-annotation">Ruby</ref> data category is realized with a <gi>ruby</gi> element. It contains the following:</p> <list type="unordered"> <item>The ruby base text or <gi>span</gi> element that contains the ruby base text and @@ -3108,7 +3108,7 @@ element, <emph>including</emph> child elements and attributes. There is no default.</p> - <p>GLOBAL: The <gi>langRule</gi> element contains the following:</p> + <p xml:id="languageinformation-global">GLOBAL: The <gi>langRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -3177,7 +3177,7 @@ expressed with global rules, or locally on an individual element. There is no inheritance. The default is that elements are not within text.</p> - <p>GLOBAL: The <gi>withinTextRule</gi> element contains the following:</p> + <p xml:id="withintext-global">GLOBAL: The <gi>withinTextRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -3189,7 +3189,7 @@ <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-within-text-implementation-1.xml" /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#elements-within-text" + <p xml:id="withintext-local">LOCAL: The following local markup is available for the <ref target="#elements-within-text" >Elements Within Text</ref> data category:</p> <list type="unordered"> <item>A <att type="class">withinText</att> attribute with the values <val>yes</val>, @@ -3309,7 +3309,7 @@ The information applies to the textual content of the element, <emph>including</emph> child elements and attributes. There is no default.</p> - <p>GLOBAL: The <gi>domainRule</gi> element contains the following:</p> + <p xml:id="domain-global">GLOBAL: The <gi>domainRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -3483,7 +3483,7 @@ be expressed with global rules, or locally on an individual element. The information applies to the textual content of the element. There is no inheritance. The entity type follows inheritance rules.</p> - <p>GLOBAL: The <gi>disambiguationRule</gi> element contains the following:</p> + <p xml:id="disambiguation-global">GLOBAL: The <gi>disambiguationRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors">absolute selector</ref> which selects @@ -3538,7 +3538,7 @@ target="examples/xml/EX-disambiguation-global-1.xml"/> </exemplum> - <p>LOCAL: The following local markup is available for the + <p xml:id="disambiguation-local">LOCAL: The following local markup is available for the <ref target="#Disambiguation">Disambiguation</ref> data category:</p> <list type="unordered"> <item>An optional <att>entityTypeSourceRef</att> attribute that @@ -3821,7 +3821,7 @@ that the language range is <val>*</val>.</p> <p>Implementations <ref target="#rfc2119">MUST NOT</ref> combine lists of language ranges from multiple rules or local attributes.</p> - <p>GLOBAL: The <gi>localeFilterRule</gi> element contains the following:</p> + <p xml:id="localefilter-global">GLOBAL: The <gi>localeFilterRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -3846,7 +3846,7 @@ <egXML xmlns="http://www.tei-c.org/ns/Examples" target="examples/xml/EX-locale-filter-selector-2.xml" /> </exemplum> - <p>LOCAL: The following local markup is available for the <ref target="#LocaleFilter">Locale + <p xml:id="localefilter-local">LOCAL: The following local markup is available for the <ref target="#LocaleFilter">Locale Filter</ref> data category:</p> <list type="unordered"> <item>A <att>localeFilterList</att> attribute with a comma-separated list of extended @@ -3937,7 +3937,7 @@ <p>The <ref target="#externalresource">External Resource</ref> data category can be expressed only with global rules. There is no inheritance. There is no default.</p> - <p>GLOBAL: The <gi>externalResourceRefRule</gi> element contains the following:</p> + <p xml:id="externalresource-global">GLOBAL: The <gi>externalResourceRefRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -4041,7 +4041,7 @@ with global rules. The information applies to the textual content of the element. There is no inheritance. There is no default.</p> - <p>GLOBAL: The <gi>targetPointerRule</gi> element contains the following:</p> + <p xml:id="targetpointer-global">GLOBAL: The <gi>targetPointerRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -4124,7 +4124,7 @@ <head>Implementation</head> <p>The <ref target="#idvalue">id Value</ref> data category can be expressed only with global rules. There is no inheritance. There is no default.</p> - <p>GLOBAL: The <gi>idValueRule</gi> element contains the following:</p> + <p xml:id="idvalue-global">GLOBAL: The <gi>idValueRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -4213,7 +4213,7 @@ HTML5 documents because <att>xml:space</att> (and by extension <ref target="preservespace" >Preserve Space</ref>) has no effect in documents parsed as text/html.</p></note> - <p>GLOBAL: The <gi>preserveSpaceRule</gi> element contains the following:</p> + <p xml:id="preservespace-global">GLOBAL: The <gi>preserveSpaceRule</gi> element contains the following:</p> <list type="unordered"> <item>A required <att>selector</att> attribute. It contains an <ref target="#selectors" >absolute selector</ref> which selects the nodes to which this rule applies.</item> @@ -4228,7 +4228,7 @@ target="examples/xml/EX-preservespace-global-1.xml" /> </exemplum> - <p>LOCAL: The <att>xml:space</att> attribute, as defined in section 2.10 of <ptr + <p xml:id="preservespace-local">LOCAL: The <att>xml:space</att> attribute, as defined in section 2.10 of <ptr target="#xml10spec" type="bibref" />, maps exactly to the Preserve Space data category.</p> <exemplum xml:id="EX-perservespace-local-1"> Index: its20.html =================================================================== RCS file: /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- its20.html 20 Aug 2012 11:02:23 -0000 1.117 +++ its20.html 20 Aug 2012 11:12:26 -0000 1.118 @@ -1193,7 +1193,7 @@ <h4><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="translatability-implementation" id="translatability-implementation" shape="rect"/>6.2.2 Implementation</h4><p>The <a href="#trans-datacat" shape="rect">Translate</a> data category can be expressed with global rules, or locally on an individual element. The information applies to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> - attributes. The default is that elements are translatable and attributes are not.</p><p>GLOBAL: The <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element contains the following:</p><span class="editor-note">[Ed. note: + attributes. The default is that elements are translatable and attributes are not.</p><p id="translate-global">GLOBAL: The <a class="itsmarkup" href="#translateRule" shape="rect">translateRule</a> element contains the following:</p><span class="editor-note">[Ed. note: <em>All</em> selector related definitions has to be update to reflect queryLanguage]</span><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#translateRule.attributes" shape="rect">translate</a> attribute with the value "yes" or "no".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-translate-selector-1" id="EX-translate-selector-1" shape="rect"/>Example 25: The <a href="#trans-datacat" shape="rect">Translate</a> data category expressed @@ -1202,7 +1202,7 @@ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:translateRule translate="no" selector="//code"/> -</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-1.xml" shape="rect">examples/xml/EX-translate-selector-1.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#trans-datacat" shape="rect">Translate</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute with the value "yes" or +</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-translate-selector-1.xml" shape="rect">examples/xml/EX-translate-selector-1.xml</a>]</p></div><p id="translate-local">LOCAL: The following local markup is available for the <a href="#trans-datacat" shape="rect">Translate</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.translate" shape="rect">translate</a> attribute with the value "yes" or "no".</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>It is not possible to override the <a href="#trans-datacat" shape="rect">Translate</a> data category settings of attributes using local markup. This limitation is consistent with the advised practice of not using translatable attributes. If attributes need to be @@ -1259,7 +1259,7 @@ <h4><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="locNote-implementation" id="locNote-implementation" shape="rect"/>6.3.2 Implementation</h4><p>The <a href="#locNote-datacat" shape="rect">Localization Note</a> data category can be expressed with global rules, or locally on an individual element. The information applies to the textual content of the element, <em>including</em> child elements, but - <em>excluding</em> attributes.</p><p id="locNote-global">GLOBAL: The <a class="itsmarkup" href="#locNoteRule" shape="rect">locNoteRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteType</a> attribute with the value + <em>excluding</em> attributes.</p><p id="localizationnote-global">GLOBAL: The <a class="itsmarkup" href="#locNoteRule" shape="rect">locNoteRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteType</a> attribute with the value "description" or "alert".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#locNote" shape="rect">locNote</a> element that contains the note itself and allows for <a href="#selection-local" shape="rect">local ITS markup</a>.</p></li><li><p>A <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNotePointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the localization note.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteRef" shape="rect">locNoteRef</a> attribute that contains a URI referring to the location of the localization note.</p></li><li><p>A <a class="itsmarkup" href="#locNoteRule.attributes" shape="rect">locNoteRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds @@ -1335,7 +1335,7 @@ <data>Invalid parameter.</data> </string> </body> -</dataFile></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRefPointer-attribute-1.xml" shape="rect">examples/xml/EX-locNoteRefPointer-attribute-1.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#locNote-datacat" shape="rect">Localization Note</a> data category:</p><ul><li><p>One of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNote" shape="rect">locNote</a> attribute that contains the note +</dataFile></pre></div><p>[Source file: <a href="examples/xml/EX-locNoteRefPointer-attribute-1.xml" shape="rect">examples/xml/EX-locNoteRefPointer-attribute-1.xml</a>]</p></div><p id="localizationnote-local">LOCAL: The following local markup is available for the <a href="#locNote-datacat" shape="rect">Localization Note</a> data category:</p><ul><li><p>One of the following:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNote" shape="rect">locNote</a> attribute that contains the note itself.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteRef" shape="rect">locNoteRef</a> attribute that contains a URI referring to the location of the localization note.</p></li></ul></li><li><p>An optional <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType" shape="rect">locNoteType</a> attribute with the value "description" or "alert". If the <a class="itsmarkup" href="#att.local.no-ns.attribute.locNoteType" shape="rect">locNoteType</a> attribute is not present, the type of localization note will be @@ -1399,7 +1399,7 @@ terms in XML documents and optionally to point to corresponding information.</p></div></div><div class="div3"> <h4><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="terminology-implementation" id="terminology-implementation" shape="rect"/>6.4.2 Implementation</h4><p>The <a href="#terminology" shape="rect">Terminology</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance. The default is that - neither elements nor attributes are terms.</p><p>GLOBAL: The <a class="itsmarkup" href="#termRule" shape="rect">termRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#termRule.attributes" shape="rect">term</a> attribute with the value "yes" or + neither elements nor attributes are terms.</p><p id="terminology-global">GLOBAL: The <a class="itsmarkup" href="#termRule" shape="rect">termRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#termRule.attributes" shape="rect">term</a> attribute with the value "yes" or "no".</p></li><li><p>Exactly one of the following:</p><ul><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds the terminology information.</p></li><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute that contains a URI referring to the resource providing information about the term.</p></li><li><p>A <a class="itsmarkup" href="#termRule.attributes" shape="rect">termInfoRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that holds @@ -1436,7 +1436,7 @@ structure, between the implied author or some other addresser, and the fiction.</gloss> </p> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-3.xml" shape="rect">examples/xml/EX-terms-selector-3.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#terminology" shape="rect">Terminology</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.term" shape="rect">term</a> attribute with the value "yes" or +</text></pre></div><p>[Source file: <a href="examples/xml/EX-terms-selector-3.xml" shape="rect">examples/xml/EX-terms-selector-3.xml</a>]</p></div><p id="terminology-local">LOCAL: The following local markup is available for the <a href="#terminology" shape="rect">Terminology</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.term" shape="rect">term</a> attribute with the value "yes" or "no".</p></li><li><p>An optional <a class="itsmarkup" href="#att.local.no-ns.attribute.termInfoRef" shape="rect">termInfoRef</a> attribute that contains a URI referring to the resource providing information about the term.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-terms-selector-4" id="EX-terms-selector-4" shape="rect"/>Example 37: The <a href="#terminology" shape="rect">Terminology</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> @@ -1499,8 +1499,8 @@ to reflect HTML5.]</span><p>The <a href="#directionality" shape="rect">Directionality</a> data category can be expressed with global rules, or locally on an individual element. The information applies to the textual content of the element, <em>including</em> child elements and attributes. The default is - that both elements and attributes have the directionality of left-to-right.</p><p>GLOBAL: The <a class="itsmarkup" href="#dirRule" shape="rect">dirRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#dirRule.attributes" shape="rect">dir</a> attribute with the value "ltr", - "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-1.xml" id="EX-dir-selector-1.xml" shape="rect"/>Example 39: Document which needs global rules for directionality</div><p>In this document the right-to-left directionality is marked using a <code>direction</code> + that both elements and attributes have the directionality of left-to-right.</p><p id="directionality-global">GLOBAL: The <a class="itsmarkup" href="#dirRule" shape="rect">dirRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#dirRule.attributes" shape="rect">dir</a> attribute with the value "ltr", + "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-dir-selector-1.xml" id="EX-dir-selector-1.xml" shape="rect"/>Example 39: Document which needs global rules for directionality</div><p>In this document the right-to-left directionality is marked using a <code>direction</code> attribute with a value "rtlText".</p><div class="exampleInner"><pre xml:space="preserve"> <text xml:lang="en"> <body> @@ -1513,7 +1513,7 @@ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/> -</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml" shape="rect">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir" shape="rect">dir</a> attribute with the value "ltr", "rtl", +</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-dir-selector-2.xml" shape="rect">examples/xml/EX-dir-selector-2.xml</a>]</p></div><p id="directionality-local">LOCAL: The following local markup is available for the <a href="#directionality" shape="rect">Directionality</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.dir" shape="rect">dir</a> attribute with the value "ltr", "rtl", "lro" or "rlo".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e4486" id="d3e4486" shape="rect"/>Example 41: The <a href="#directionality" shape="rect">Directionality</a> data category expressed locally</div><p>On the first <code>quote</code> element, the <code>its:dir="rtl"</code> attribute indicates a right-to-left content.</p><div class="exampleInner"><pre xml:space="preserve"> @@ -1552,7 +1552,7 @@ provide a short annotation of the associated base text. It is most often used to provide a reading (pronunciation) guide.</p></div><div class="div3"> <h4><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="ruby-implementation" id="ruby-implementation" shape="rect"/>6.6.2 Implementation</h4><span class="editor-note">[Ed. note: Examples for HTML5 need to be added;]</span><p>The <a href="#ruby-annotation" shape="rect">Ruby</a> data category can be expressed with global - rules, or locally. There is no inheritance.</p><p>GLOBAL: The <a class="itsmarkup" href="#rubyRule" shape="rect">rubyRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies. This is + rules, or locally. There is no inheritance.</p><p id="ruby-global">GLOBAL: The <a class="itsmarkup" href="#rubyRule" shape="rect">rubyRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies. This is the ruby base text.</p></li><li><p>An optional <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rubyPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that corresponds to the ruby element.</p></li><li><p>An optional <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rpPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that corresponds to the ruby parenthesis.</p></li><li><p>An optional <a class="itsmarkup" href="#rubyText" shape="rect">rubyText</a> element that contains the ruby text.</p></li><li><p>An optional <a class="itsmarkup" href="#rubyRule.attributes" shape="rect">rtPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that corresponds to the ruby @@ -1571,7 +1571,7 @@ <body> <img src="w3c_home.png" alt="W3C"/> ... </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-ruby-legacy-1.xml" shape="rect">examples/xml/EX-ruby-legacy-1.xml</a>]</p></div><p>LOCAL: In a document, the <a href="#ruby-annotation" shape="rect">Ruby</a> data category is realized +</text></pre></div><p>[Source file: <a href="examples/xml/EX-ruby-legacy-1.xml" shape="rect">examples/xml/EX-ruby-legacy-1.xml</a>]</p></div><p id="ruby-local">LOCAL: In a document, the <a href="#ruby-annotation" shape="rect">Ruby</a> data category is realized with a <a class="itsmarkup" href="#ruby" shape="rect">ruby</a> element. It contains the following:</p><ul><li><p>The ruby base text or <a class="itsmarkup" href="#span" shape="rect">span</a> element that contains the ruby base text and allows for <a href="#selection-local" shape="rect">local ITS markup</a>.</p></li><li><p>An <a class="itsmarkup" href="#rp" shape="rect">rp</a> element that contains the ruby parenthesis. It is used in case of simple markup to specify characters that can denote the beginning and end of ruby text @@ -1637,7 +1637,7 @@ its successors.)</p></div><span class="editor-note">[Ed. note: Add something about HTML5 lang]</span></div><div class="div3"> <h4><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="langinfo-implementation" id="langinfo-implementation" shape="rect"/>6.7.2 Implementation</h4><p>The <a href="#language-information" shape="rect">Language Information</a> data category can be expressed only with global rules. The information applies to the textual content of the - element, <em>including</em> child elements and attributes. There is no default.</p><p>GLOBAL: The <a class="itsmarkup" href="#langRule" shape="rect">langRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#langRule.attributes" shape="rect">langPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains language + element, <em>including</em> child elements and attributes. There is no default.</p><p id="languageinformation-global">GLOBAL: The <a class="itsmarkup" href="#langRule" shape="rect">langRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#langRule.attributes" shape="rect">langPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains language information.</p></li></ul></div><div class="div3"> <h4><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="langinfo-markup" id="langinfo-markup" shape="rect"/>6.7.3 Markup Declarations for Language Information</h4><dl><dt class="label">langRule</dt><dd><table class="scrap" summary="Scrap"><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="langRule" id="langRule" shape="rect"/>[94] </td><td rowspan="1" colspan="1"><code>langRule</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> element its:langRule { langRule.content, <a href="#langRule.attributes" shape="rect">langRule.attributes</a> }</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="langRule.content" id="langRule.content" shape="rect"/>[95] </td><td rowspan="1" colspan="1"><code>langRule.content</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1">code> empty</code></td></tr></tbody><tbody><tr valign="baseline"><td rowspan="1" colspan="1"><a name="langRule.attributes" id="langRule.attributes" shape="rect"/>[96] </td><td rowspan="1" colspan="1"><code>langRule.attributes</code></td><td rowspan="1" colspan="1"> ::= </td><td rowspan="1" colspan="1"><code> <a href="#att.selector.attributes" shape="rect">att.selector.attributes</a>, attribute langPointer { string }</code></td></tr></tbody></table></dd></dl></div></div><div class="div2"> @@ -1663,12 +1663,12 @@ </p></li></ul></div><div class="div3"> <h4><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="within-text-implementation" id="within-text-implementation" shape="rect"/>6.8.2 Implementation</h4><p>The <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category can be expressed with global rules, or locally on an individual element. There is no inheritance. - The default is that elements are not within text.</p><p>GLOBAL: The <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText" shape="rect">withinText</a> attribute with the value "yes", + The default is that elements are not within text.</p><p id="withintext-global">GLOBAL: The <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText" shape="rect">withinText</a> attribute with the value "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="d3e5191" id="d3e5191" shape="rect"/>Example 46: Specifying elements within text with a <a class="itsmarkup" href="#withinTextRule" shape="rect">withinTextRule</a> element</div><div class="exampleInner"><pre xml:space="preserve"> <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> <its:withinTextRule withinText="yes" selector="//b | //em | //i"/> -</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-within-text-implementation-1.xml" shape="rect">examples/xml/EX-within-text-implementation-1.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText" shape="rect">withinText</a> attribute with the values "yes", +</its:rules></pre></div><p>[Source file: <a href="examples/xml/EX-within-text-implementation-1.xml" shape="rect">examples/xml/EX-within-text-implementation-1.xml</a>]</p></div><p id="withintext-local">LOCAL: The following local markup is available for the <a href="#elements-within-text" shape="rect">Elements Within Text</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.withinText" shape="rect">withinText</a> attribute with the values "yes", "no" or "nested".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-within-text-local-1" id="EX-within-text-local-1" shape="rect"/>Example 47: The <a href="#trans-datacat" shape="rect">Elements Within Text</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> <text @@ -1715,7 +1715,7 @@ domain information.</p></li></ul></div><div class="div3"> <h4><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="domain-implementation" id="domain-implementation" shape="rect"/>6.9.2 Implementation</h4><p>The <a href="#domain" shape="rect">Domain</a> data category can be expressed only with global rules. The information applies to the textual content of the element, <em>including</em> child - elements and attributes. There is no default.</p><p>GLOBAL: The <a class="itsmarkup" href="#domainRule" shape="rect">domainRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains the domain + elements and attributes. There is no default.</p><p id="domain-global">GLOBAL: The <a class="itsmarkup" href="#domainRule" shape="rect">domainRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that contains the domain information.</p></li><li><p>An optional <a class="itsmarkup" href="#domainRule.attributes" shape="rect">domainMapping</a> attribute that contains a comma separated list of mappings between values in the content and consumer tool specific values. The left part of the pair is part of the source content and unique within the mapping. The right part @@ -1816,7 +1816,7 @@ <h4><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="Disambiguation-implementation" id="Disambiguation-implementation" shape="rect"/>6.10.2 Implementation</h4><p>The <a href="#Disambiguation" shape="rect">Disambiguation</a> data category can be expressed with global rules, or locally on an individual element. The information applies to the textual content of the element. There is no - inheritance. The entity type follows inheritance rules.</p><p>GLOBAL: The <a class="itsmarkup" href="#disambiguationRule" shape="rect">disambiguationRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an + inheritance. The entity type follows inheritance rules.</p><p id="disambiguation-global">GLOBAL: The <a class="itsmarkup" href="#disambiguationRule" shape="rect">disambiguationRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>An optional <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef" shape="rect">entityTypeSourceRef</a> attribute that contains a URI specifying the concrete identifier data source @@ -1869,7 +1869,7 @@ <p> <span id="dublin">Dublin</span> is the <span id="capital">capital of Ireland</span>.</p> </body> -</text></pre></div><p>[Source file: <a href="examples/xml/EX-disambiguation-global-1.xml" shape="rect">examples/xml/EX-disambiguation-global-1.xml</a>]</p></div><p>LOCAL: The following local markup is available for the +</text></pre></div><p>[Source file: <a href="examples/xml/EX-disambiguation-global-1.xml" shape="rect">examples/xml/EX-disambiguation-global-1.xml</a>]</p></div><p id="disambiguation-local">LOCAL: The following local markup is available for the <a href="#Disambiguation" shape="rect">Disambiguation</a> data category:</p><ul><li><p>An optional <a class="itsmarkup" href="#att.disambiguation.attribute.entityTypeSourceRef" shape="rect">entityTypeSourceRef</a> attribute that contains an URI specifying the concrete identifier data source (knowledge base, semantic network), used to determine the entity @@ -1995,7 +1995,7 @@ global rules, or locally on an individual element. The information applies to the textual content of the element, <em>including</em> child elements and attributes. The default is that the language range is "*".</p><p>Implementations <a href="#rfc2119" shape="rect">MUST NOT</a> combine lists of language ranges from - multiple rules or local attributes.</p><p>GLOBAL: The <a class="itsmarkup" href="#localeFilterRule" shape="rect">localeFilterRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.localeFilterList" shape="rect">localeFilterList</a> attribute with a comma-separated list of + multiple rules or local attributes.</p><p id="localefilter-global">GLOBAL: The <a class="itsmarkup" href="#localeFilterRule" shape="rect">localeFilterRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#att.local.no-ns.attribute.localeFilterList" shape="rect">localeFilterList</a> attribute with a comma-separated list of extended language ranges, or an empty string value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-1" id="EX-locale-filter-selector-1" shape="rect"/>Example 55: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed globally</div><p>The <a class="itsmarkup" href="#localeFilterRule" shape="rect">localeFilterRule</a> element specifies that certain legal notice elements should only be shown in the specified locales. Note that using the extended language range @@ -2023,7 +2023,7 @@ </its:rules> </info> <remark>Note: This section will be written later.</remark> -</section></pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-2.xml" shape="rect">examples/xml/EX-locale-filter-selector-2.xml</a>]</p></div><p>LOCAL: The following local markup is available for the <a href="#LocaleFilter" shape="rect">Locale +</section></pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-2.xml" shape="rect">examples/xml/EX-locale-filter-selector-2.xml</a>]</p></div><p id="localefilter-local">LOCAL: The following local markup is available for the <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category:</p><ul><li><p>A <a class="itsmarkup" href="#att.local.no-ns.attribute.localeFilterList" shape="rect">localeFilterList</a> attribute with a comma-separated list of extended language ranges, or an empty string value.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-attribute-1" id="EX-locale-filter-attribute-1" shape="rect"/>Example 57: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed locally</div><div class="exampleInner"><pre xml:space="preserve"> @@ -2063,7 +2063,7 @@ node represents or references potentially translatable data in a resource outside the document. Examples of such resources are external images and audio or video files.</p></div><div class="div3"> <h4><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="externalresource-implementation" id="externalresource-implementation" shape="rect"/>6.14.2 Implementation</h4><p>The <a href="#externalresource" shape="rect">External Resource</a> data category can be expressed - only with global rules. There is no inheritance. There is no default.</p><p>GLOBAL: The <a class="itsmarkup" href="#externalResourceRefRule" shape="rect">externalResourceRefRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#externalResourceRefRule.attributes" shape="rect">externalResourceRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that provides the URI + only with global rules. There is no inheritance. There is no default.</p><p id="externalresource-global">GLOBAL: The <a class="itsmarkup" href="#externalResourceRefRule" shape="rect">externalResourceRefRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#externalResourceRefRule.attributes" shape="rect">externalResourceRefPointer</a> attribute that contains a <a href="#selectors" shape="rect">relative selector</a> pointing to a node that provides the URI of the external resource.</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-externalresource-1" id="EX-externalresource-1" shape="rect"/>Example 58: The <a class="itsmarkup" href="#externalResourceRefRule" shape="rect">externalResourceRefRule</a> element</div><p>The <a class="itsmarkup" href="#externalResourceRefRule" shape="rect">externalResourceRefRule</a> element expresses that the <code>imagedata</code>, <code>audiodata</code> and <code>videodata</code> elements contain references to external resources. These references are expressed via a <code>fileref</code> attribute. @@ -2143,7 +2143,7 @@ with multilingual documents</a>” from <a title="Best Practices for XML
								Internationalization" href="#xml-i18n-bp" shape="rect">[XML i18n BP]</a> for further guidance.</p></div></div><div class="div3"> <h4><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="target-pointer-implementation" id="target-pointer-implementation" shape="rect"/>6.15.2 Implementation</h4><p>The <a href="#target-pointer" shape="rect">Target Pointer</a> data category can be expressed only with global rules. The information applies to the textual content of the element. There is - no inheritance. There is no default.</p><p>GLOBAL: The <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#targetPointerRule.attributes" shape="rect">targetPointer</a> attribute. It contains a <a href="#selectors" shape="rect">relative selector</a> that points to the node for the target content + no inheritance. There is no default.</p><p id="targetpointer-global">GLOBAL: The <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#targetPointerRule.attributes" shape="rect">targetPointer</a> attribute. It contains a <a href="#selectors" shape="rect">relative selector</a> that points to the node for the target content corresponding to the selected source node.</p></li></ul><div class="note"><p class="prefix"><b>Note:</b></p><p>The source node and the target node may be of different types, but the target node must be able to contain the same content of the source node (e.g. an attribute node cannot be the target node of a source node that is an element with children).</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-target-pointer-global-1" id="EX-target-pointer-global-1" shape="rect"/>Example 61: Defining the target location of a source content with the <a class="itsmarkup" href="#targetPointerRule" shape="rect">targetPointerRule</a> @@ -2188,7 +2188,7 @@ <code>xml:id</code> is the recommended way to specify an identifier in XML.</p></li></ul></div></div><div class="div3"> <h4><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="idvalue-implementation" id="idvalue-implementation" shape="rect"/>6.16.2 Implementation</h4><p>The <a href="#idvalue" shape="rect">id Value</a> data category can be expressed only with global - rules. There is no inheritance. There is no default.</p><p>GLOBAL: The <a class="itsmarkup" href="#idValueRule" shape="rect">idValueRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#idValueRule.attributes" shape="rect">idValue</a> attribute. It contains an XPath expression which + rules. There is no inheritance. There is no default.</p><p id="idvalue-global">GLOBAL: The <a class="itsmarkup" href="#idValueRule" shape="rect">idValueRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#idValueRule.attributes" shape="rect">idValue</a> attribute. It contains an XPath expression which constructs a string corresponding to the identifier of the node to which this rule applies should be located. The identifier <a href="#rfc-keywords" shape="rect">MUST</a> be unique at least within the document. If the attribute <code>xml:id</code> is present for @@ -2256,7 +2256,7 @@ xml:space attribute. The default value is "default".</p></div><div class="div3"> <h4><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="preservespace-implementation" id="preservespace-implementation" shape="rect"/>6.17.2 Implementation</h4><p>The <a href="preservespace" shape="rect">Preserve Space</a> data category can be expressed with global rules, or locally using the <code>xml:space</code> attribute.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>The <a href="preservespace" shape="rect">Preserve Space</a> data category is not applicable to - HTML5 documents because <code>xml:space</code> (and by extension <a href="preservespace" shape="rect">Preserve Space</a>) has no effect in documents parsed as text/html.</p></div><p>GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule" shape="rect">preserveSpaceRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#preserveSpaceRule.attributes" shape="rect">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 65: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed + HTML5 documents because <code>xml:space</code> (and by extension <a href="preservespace" shape="rect">Preserve Space</a>) has no effect in documents parsed as text/html.</p></div><p id="preservespace-global">GLOBAL: The <a class="itsmarkup" href="#preserveSpaceRule" shape="rect">preserveSpaceRule</a> element contains the following:</p><ul><li><p>A required <a class="itsmarkup" href="#att.selector.attribute.selector" shape="rect">selector</a> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> which selects the nodes to which this rule applies.</p></li><li><p>A required <a class="itsmarkup" href="#preserveSpaceRule.attributes" shape="rect">space</a> attribute with the value "default" or "preserve".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-global-1" id="EX-perservespace-global-1" shape="rect"/>Example 65: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed globally</div><p>The preserveSpaceRule element specifies that whitespace in all verse elements must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve"> <book @@ -2273,7 +2273,7 @@ All mimsy were the borogoves, And the mome raths outgrabe. </verse> -</book></pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml" shape="rect">examples/xml/EX-preservespace-global-1.xml</a>]</p></div><p>LOCAL: The <code>xml:space</code> attribute, as defined in section 2.10 of <a title="Extensible Markup Language (XML)
								1.0 (Fourth Edition)" href="#xml10spec" shape="rect">[XML 1.0]</a>, maps exactly to the Preserve Space data +</book></pre></div><p>[Source file: <a href="examples/xml/EX-preservespace-global-1.xml" shape="rect">examples/xml/EX-preservespace-global-1.xml</a>]</p></div><p id="preservespace-local">LOCAL: The <code>xml:space</code> attribute, as defined in section 2.10 of <a title="Extensible Markup Language (XML)
								1.0 (Fourth Edition)" href="#xml10spec" shape="rect">[XML 1.0]</a>, maps exactly to the Preserve Space data category.</p><div class="exampleOuter"><div class="exampleHeader"><a name="EX-perservespace-local-1" id="EX-perservespace-local-1" shape="rect"/>Example 66: The <a href="preservespace" shape="rect">Preserve Space</a> data category expressed locally</div><p>The standard <code>xml:space</code> attribute specifies that the whitespace in the verse element must be treated literally.</p><div class="exampleInner"><pre xml:space="preserve">
Received on Monday, 20 August 2012 11:12:35 UTC