CVS WWW/International/multilingualweb/lt/drafts/its20

Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20
In directory gil:/tmp/cvs-serv10600

Modified Files:
	its20.html its20.odd 
Log Message:
added HTML5 example for Locale Filter and removed an XML one.

--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/03/24 13:00:05	1.350
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html	2013/03/24 13:18:06	1.351
@@ -2221,20 +2221,27 @@
     <strong class="hl-tag" style="color: #000096">&lt;remark&gt;</strong>Note: This section will be written later.<strong class="hl-tag" style="color: #000096">&lt;/remark&gt;</strong>&#xD;
   <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong>&#xD;
 <strong class="hl-tag" style="color: #000096">&lt;/book&gt;</strong>&#xD;
-</pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-1.xml" shape="rect">examples/xml/EX-locale-filter-selector-1.xml</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-selector-2" id="EX-locale-filter-selector-2" shape="rect"/>Example 61: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed
-                globally</div><p>The <code class="its-elem-markup">localeFilterRule</code> element specifies that editorial remarks should be
-                removed from all translations.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;section</strong> <span class="hl-attribute" style="color: #F5844C">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">&gt;</strong>&#xD;
-  <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong>&#xD;
-    <strong class="hl-tag" style="color: #000096">&lt;its:rules</strong> <span class="hl-attribute" style="color: #F5844C">version</span>=<span class="hl-value" style="color: #993300">"2.0"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>&#xD;
-      <strong class="hl-tag" style="color: #000096">&lt;its:localeFilterRule</strong> <span class="hl-attribute" style="color: #F5844C">selector</span>=<span class="hl-value" style="color: #993300">"//remark"</span> <span class="hl-attribute" style="color: #F5844C">localeFilterList</span>=<span class="hl-value" style="color: #993300">""</span><strong class="hl-tag" style="color: #000096">/&gt;</strong>&#xD;
-    <strong class="hl-tag" style="color: #000096">&lt;/its:rules&gt;</strong>&#xD;
-  <strong class="hl-tag" style="color: #000096">&lt;/info&gt;</strong>&#xD;
-  <strong class="hl-tag" style="color: #000096">&lt;remark&gt;</strong>Note: This section will be written later.<strong class="hl-tag" style="color: #000096">&lt;/remark&gt;</strong>&#xD;
-<strong class="hl-tag" style="color: #000096">&lt;/section&gt;</strong>&#xD;
-</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
+</pre></div><p>[Source file: <a href="examples/xml/EX-locale-filter-selector-1.xml" shape="rect">examples/xml/EX-locale-filter-selector-1.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 <code class="its-attr-markup">localeFilterList</code> attribute with a comma-separated list of extended
-                language ranges, or an empty string value.</p></li><li><p>An optional <code class="its-attr-markup">localeFilterType</code> attribute with a value "include" or "exclude".</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 62: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed
-                locally</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">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">&gt;</strong>&#xD;
+                language ranges, or an empty string value.</p></li><li><p>An optional <code class="its-attr-markup">localeFilterType</code> attribute with a value "include" or "exclude".</p></li></ul><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-locale-html5-1" id="EX-locale-filter-locale-html5-1" shape="rect"/>Example 61: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed
+                locally in HTML</div><p>In this example the <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category is used to select different sections
+                depending on whether the locale is a Canadian one or not.</p><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: blue">&lt;!DOCTYPE html&gt;</strong>&#xD;
+<strong class="hl-tag" style="color: #000096">&lt;html&gt;</strong>&#xD;
+ <strong class="hl-tag" style="color: #000096">&lt;head&gt;</strong>&#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;meta</strong> <span class="hl-attribute" style="color: #F5844C">charset</span>=<span class="hl-value" style="color: #993300">utf-8</span><strong class="hl-tag" style="color: #000096">&gt;</strong> &#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;title&gt;</strong>Locale filter<strong class="hl-tag" style="color: #000096">&lt;/title&gt;</strong>&#xD;
+ <strong class="hl-tag" style="color: #000096">&lt;/head&gt;</strong>  &#xD;
+ <strong class="hl-tag" style="color: #000096">&lt;body&gt;</strong> &#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;div</strong> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-list</span>=<span class="hl-value" style="color: #993300">"*-ca"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>&#xD;
+   <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Text for Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>&#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;/div&gt;</strong>&#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;div</strong> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-list</span>=<span class="hl-value" style="color: #993300">"*-ca"</span> <span class="hl-attribute" style="color: #F5844C">its-locale-filter-type</span>=<span class="hl-value" style="color: #993300">"exclude"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>&#xD;
+   <strong class="hl-tag" style="color: #000096">&lt;p&gt;</strong>Text for non-Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/p&gt;</strong>&#xD;
+  <strong class="hl-tag" style="color: #000096">&lt;/div&gt;</strong>&#xD;
+ <strong class="hl-tag" style="color: #000096">&lt;/body&gt;</strong>&#xD;
+<strong class="hl-tag" style="color: #000096">&lt;/html&gt;</strong>&#xD;
+</pre></div><p>[Source file: <a href="examples/html5/EX-locale-filter-local-html5-1.html" shape="rect">examples/html5/EX-locale-filter-local-html5-1.html</a>]</p></div><div class="exampleOuter"><div class="exampleHeader"><a name="EX-locale-filter-attribute-1" id="EX-locale-filter-attribute-1" shape="rect"/>Example 62: The <a href="#LocaleFilter" shape="rect">Locale Filter</a> data category expressed
+                locally in XML</div><div class="exampleInner"><pre xml:space="preserve"><strong class="hl-tag" style="color: #000096">&lt;book</strong> <span class="hl-attribute" style="color: #F5844C">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">&gt;</strong>&#xD;
   <strong class="hl-tag" style="color: #000096">&lt;info&gt;</strong>&#xD;
     <strong class="hl-tag" style="color: #000096">&lt;legalnotice</strong> <span class="hl-attribute" style="color: #F5844C">its:localeFilterList</span>=<span class="hl-value" style="color: #993300">"en-CA, fr-CA"</span><strong class="hl-tag" style="color: #000096">&gt;</strong>&#xD;
       <strong class="hl-tag" style="color: #000096">&lt;para&gt;</strong>This legal notice is only for English and French Canadian locales.<strong class="hl-tag" style="color: #000096">&lt;/para&gt;</strong>&#xD;
--- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/03/24 13:00:05	1.344
+++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd	2013/03/24 13:18:06	1.345
@@ -3378,14 +3378,6 @@
               <egXML xmlns="http://www.tei-c.org/ns/Examples"
                 target="examples/xml/EX-locale-filter-selector-1.xml"/>
             </exemplum>
-            <exemplum xml:id="EX-locale-filter-selector-2">
-              <head>The <ref target="#LocaleFilter">Locale Filter</ref> data category expressed
-                globally</head>
-              <p>The <gi>localeFilterRule</gi> element specifies that editorial remarks should be
-                removed from all translations.</p>
-              <egXML xmlns="http://www.tei-c.org/ns/Examples"
-                target="examples/xml/EX-locale-filter-selector-2.xml"/>
-            </exemplum>
             <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">
@@ -3393,9 +3385,17 @@
                 language ranges, or an empty string value.</item>
               <item>An optional <att>localeFilterType</att> attribute with a value <val>include</val> or <val>exclude</val>.</item>
             </list>
+            <exemplum xml:id="EX-locale-filter-locale-html5-1">
+              <head>The <ref target="#LocaleFilter">Locale Filter</ref> data category expressed
+                locally in HTML</head>
+              <p>In this example the <ref target="#LocaleFilter">Locale Filter</ref> data category is used to select different sections
+                depending on whether the locale is a Canadian one or not.</p>
+              <egXML xmlns="http://www.tei-c.org/ns/Examples"
+                target="examples/html5/EX-locale-filter-local-html5-1.html"/>
+            </exemplum>
             <exemplum xml:id="EX-locale-filter-attribute-1">
               <head>The <ref target="#LocaleFilter">Locale Filter</ref> data category expressed
-                locally</head>
+                locally in XML</head>
               <egXML xmlns="http://www.tei-c.org/ns/Examples"
                 target="examples/xml/EX-locale-filter-attribute-1.xml"/>
             </exemplum>

Received on Sunday, 24 March 2013 13:18:08 UTC