import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Example</title>
</head>
<body>
<p>Login names can only use letters from A to Z (upper or lowercase)
and the character underscore (_) and minus (-).
For example: <code its-allowed-characters="[a-zA-Z_\-]">Huck_Finn</code>.</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Example</title>
<link href="allowedcharacters2htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p>Login names can only use letters from A to Z (upper or lowercase)
and the character underscore (_) and minus (-).
For example: <code>Huck_Finn</code>.</p>
</body>
</html>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:p/h:code"/>
</its:rules>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Example</title>
<link href="allowedcharacters3htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p>Login names can only use letters from A to Z (upper or lowercase)
and the character underscore (_) and minus (-).
For example: <code id="name">Huck_Finn</code>.</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="allowedcharsParam">name</its:param>
<its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:p/h:code[@id=$allowedcharsParam]"/>
</its:rules>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Example</title>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="acParam">name</its:param>
<its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:code[@id=$acParam]"/>
</its:rules>
</script>
</head>
<body>
<p>Login names can only use letters from A to Z (upper or lowercase)
and the character underscore (_) and minus (-).
For example: <code id="name">Huck_Finn</code>.</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<myRes xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules version="2.0">
<its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content"/>
</its:rules>
</head>
<body>
<content>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
diam voluptua.</content>
</body>
</myRes>

View file

@ -0,0 +1,9 @@
<res xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules version="2.0">
<its:allowedCharactersRule selector="//record" allowedCharactersPointer="@set"/>
</its:rules>
</head>
<record id="a1" set="[ &#xFF01;–&#xFF5E;]">FULL WIDTH ONLY</record>
</res>

View file

@ -0,0 +1,10 @@
<myRes xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters3xmlrules.xml"/>
</head>
<body>
<content>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
diam voluptua.</content>
</body>
</myRes>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content"/>
</its:rules>

View file

@ -0,0 +1,7 @@
<res xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters4xmlrules.xml"/>
</head>
<record id="a1" set="[ &#xFF01;–&#xFF5E;]">FULL WIDTH ONLY</record>
</res>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:allowedCharactersRule selector="//record" allowedCharactersPointer="@set"/>
</its:rules>

View file

@ -0,0 +1,4 @@
<messages xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<msg num="123">Click the <panelmsg its:allowedCharacters="[&#x0020;-&#x00FE;]"
>CONTINUE</panelmsg> Button on the printer panel</msg>
</messages>

View file

@ -0,0 +1,3 @@
<messages xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<msg num="123">Click the <its:span allowedCharacters="[&#x0020;-&#x00FE;]">CONTINUE</its:span> Button on the printer panel</msg>
</messages>

View file

@ -0,0 +1,10 @@
<myRes xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters7xmlrules.xml"/>
</head>
<body>
<content id="allowedchar">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
diam voluptua.</content>
</body>
</myRes>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="allowedcharParam">allowedchar</its:param>
<its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content[@id=$allowedcharParam]"/>
</its:rules>

View file

@ -0,0 +1,13 @@
<myRes xmlns:its="http://www.w3.org/2005/11/its">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="allowedcharParam">allowedchar</its:param>
<its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content[@id=$allowedcharParam]"/>
</its:rules>
</head>
<body>
<content id="allowedchar">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
diam voluptua.</content>
</body>
</myRes>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Directionality</title>
</head>
<body>
<p>In Hebrew, the title <q lang="he"
dir="rtl">פעילות הבינאום, W3C</q>
means "Internationalization Activity, W3C".</p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Directionality</title>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:dirRule selector="//h:*[@class='rtLeft']" dir="rtl" />
</its:rules>
</script>
</head>
<body>
<p>In Hebrew, the title <q lang="he"
class="rtLeft">פעילות הבינאום, W3C</q>
means "Internationalization Activity, W3C".</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Directionality</title>
<link href="dir3htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p>In Hebrew, the title <q lang="he"
class="rtLeft">פעילות הבינאום, W3C</q>
means "Internationalization Activity, W3C".</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="dirParam">rtLeft</its:param>
<its:dirRule selector="//h:*[@class=$dirParam]" dir="rtl" />
</its:rules>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Directionality</title>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="dirParam">rtLeft</its:param>
<its:dirRule selector="//h:*[@class=$dirParam]" dir="rtl" />
</its:rules>
</script>
</head>
<body>
<p>In Hebrew, the title <q lang="he"
class="rtLeft">פעילות הבינאום, W3C</q>
means "Internationalization Activity, W3C".</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<text xml:lang="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/>
</its:rules>
</head>
<body>
<par>In Hebrew, the title <quote xml:lang="he"
direction="rtlText">פעילות הבינאום, W3C</quote>
means <quote>Internationalization Activity, W3C</quote>.</par>
</body>
</text>

View file

@ -0,0 +1,11 @@
<text xml:lang="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dir2xmlrules.xml" />
</head>
<body>
<par>In Hebrew, the title <quote xml:lang="he"
direction="rtlText">פעילות הבינאום, W3C</quote>
means <quote>Internationalization Activity, W3C</quote>.</par>
</body>
</text>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/>
</its:rules>

View file

@ -0,0 +1,7 @@
<text xml:lang="en" xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<body>
<par>In Arabic, the title <quote xml:lang="ar"
its:dir="rtl">نشاط التدويل، W3C</quote>
means <quote>Internationalization Activity, W3C</quote>.</par>
</body>
</text>

View file

@ -0,0 +1,6 @@
<text xml:lang="en" xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<body>
<par>In Arabic, the title "<its:span xml:lang="ar" dir="rtl">نشاط التدويل، W3C</its:span>"
means "Internationalization Activity, W3C".</par>
</body>
</text>

View file

@ -0,0 +1,13 @@
<text xml:lang="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="dirParam">rtlText</its:param>
<its:dirRule dir="rtl" selector="//*[@direction=$dirParam]"/>
</its:rules>
</head>
<body>
<par>In Hebrew, the title <quote xml:lang="he"
direction="rtlText">פעילות הבינאום, W3C</quote>
means <quote>Internationalization Activity, W3C</quote>.</par>
</body>
</text>

View file

@ -0,0 +1,11 @@
<text xml:lang="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dir6xmlrules.xml" />
</head>
<body>
<par>In Hebrew, the title <quote xml:lang="he"
direction="rtlText">פעילות הבינאום, W3C</quote>
means <quote>Internationalization Activity, W3C</quote>.</par>
</body>
</text>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="dirParam">rtlText</its:param>
<its:dirRule dir="rtl" selector="//*[@direction=$dirParam]"/>
</its:rules>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain1htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="automotive"/>
<title>Domain HTML</title>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</html>

View file

@ -0,0 +1,5 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:domainRule selector="/h:html/h:body"
domainPointer="/h:html/h:head/h:meta[@name='keywords']/@content"/>
</its:rules>

View file

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain2htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="automotive"/>
<title>Domain HTML</title>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</html>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:domainRule selector="/h:html/h:body"
domainPointer="/h:html/h:head/h:meta[@name='keywords']/@content"
domainMapping="automotive auto, medical medicine, 'criminal law' law, 'property law' law"/>
</its:rules>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="domain3htmlrules.xml" rel="its-rules"/>
<meta name="keywords" content="sports law"/>
<title>Sports law</title>
</head>
<body>
<p>
Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.
</p>
<p>
Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.
</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="domainParam">keywords</its:param>
<its:domainRule selector="/h:html/h:body" domainPointer="/h:html/h:head/h:meta[@name=$domainParam]/@content" domainMapping="'sports law' law, 'labor law' law, 'contract law' law, 'competition law' law,'tort law' law"/>
</its:rules>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<meta name="keywords" content="SPORTS LAW, Judicial Matters"/>
<meta property="mykeywords" content="Sport, Law"/>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="domainParam">keywords</its:param>
<its:domainRule selector="/h:html/h:body" domainPointer="/h:html/h:head/h:meta[@property='mykeywords' or @name=$domainParam]/@content" domainMapping="'sports law' LAW, 'labor law' LAW, 'contract law' LAW, 'competition law' LAW,'tort law' LAW"/>
</its:rules>
</script>
<title>Sports law</title>
</head>
<body>
<p>Some text about sport and law.</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/doc/body"
domainPointer="/doc/head/meta[@name='DC.subject']/@content"
/>
</its:rules>
<meta name="DC.subject" content="automotive"/>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</doc>

View file

@ -0,0 +1,14 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/doc/body"
domainPointer="/doc/head/meta[@name='DC.subject']/@content"
domainMapping="automotive auto, 'criminal law' law, 'property law' law"
/>
</its:rules>
<meta name="DC.subject" content="automotive"/>
</head>
<body>
<p>The new car from XYZ - buy it now!</p>
</body>
</doc>

View file

@ -0,0 +1,10 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain4xmlrules.xml"/>
<meta name="DC.subject" content="sports law"/>
</head>
<body>
<p>Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.</p>
<p>Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.</p>
</body>
</text>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body"
domainPointer="/text/head/meta[@name='DC.subject']/@content"
domainMapping="'sports law' law, 'labor law' law, 'contract law' law, 'competition law' law,'tort law' law"
/>
</its:rules>

View file

@ -0,0 +1,17 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="domain5xmlrules.xml"/>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body/span" domainPointer="/text/head/meta[@name='DC.type']/@content" domainMapping="'sports law' amateur"/>
</its:rules>
<meta name="DC.subject" content="sports law"/>
<meta name="DC.type" content="sports law"/>
</head>
<body>
<p>
Sports law is an umbrella term used to describe the legal issues at work in the world of both amateur and professional sports.
Sports law overlaps substantially with labor law, contract law, competition or antitrust law, and tort law.
</p>
<span id="amateursports">Unlike intercollegiate sports, international amateur sports are run by a variety of organizations. </span>
</body>
</text>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:domainRule selector="/text/body"
domainPointer="/text/head/meta[@name='DC.subject']/@content"
domainMapping="'sports law' law,'labor law' law,'contract law' law,'competition law' law,'tort law' law"
/>
</its:rules>

View file

@ -0,0 +1,19 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="domainParam">DC.type</its:param>
<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/>
</its:rules>
<meta name="DC.type" content="Poetry literature"/>
</head>
<body>
<p>
<span>
A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction).
</span>
<span>
Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme.
</span>
</p>
</body>
</text>

View file

@ -0,0 +1,16 @@
<text>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="domain7xmlrules.xml"/>
<meta name="DC.type" content="Poetry literature"/>
</head>
<body>
<p>
<span>
A poem is a composition written in verse (although verse has also been used for epic and dramatic fiction).
</span>
<span>
Poems make use of the aesthetic qualities of language to suggest differential meanings and to evoke emotive responses. Poems rely heavily on imagery and metaphor; they may have a rhythmic structure based on patterns of stresses (metric feet) or on patterns of different-length syllables (as in classical prosody); and they may or may not utilize rhyme.
</span>
</p>
</body>
</text>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="domainParam">DC.type</its:param>
<its:domainRule selector="/text/body/p" domainPointer="/text/head/meta[@name=$domainParam]/@content" domainMapping="'Poetry literature' poetry"/>
</its:rules>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="withintext1htmlrules.xml" rel="its-rules"/>
<title>Appaloosa</title>
</head>
<body>
<section itemscope>
<h2>keywords</h2>
<span itemprop="keyword">horse</span>
<span itemprop="keyword">appaloosa</span>
</section>
<p itemscope>
The Appaloosa
<cite>
The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
</cite>
are rugged horses originally breed by the
<span itemprop="keyword">Nez-Perce</span>
tribe in the US Northwest.
</p>
<p>
They are often characterized by their spotted coats, as shown here:
<img src="appaloosa.png" alt="Appaloosa horses"/>
</p>
<!--footer-->
<p>
Copyright:
<em>Zebulon Inc.</em>
</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:withinTextRule selector="//h:cite" withinText="nested"/>
</its:rules>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Within text test: Default</title>
</head>
<body>
<p>Text with <span its-within-text="YES">bold</span>.</p>
</body>
</html>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="withintext3htmlrules.xml" rel="its-rules"/>
<title>Appaloosa</title>
</head>
<body>
<section itemscope>
<h2>keywords</h2>
<span itemprop="firstkeyword">horse</span>
<span itemprop="secondkeyword">appaloosa</span>
</section>
<p itemscope>
The Appaloosa
<cite>
The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
</cite>
are rugged horses originally breed by the
<span itemprop="keyword">Nez-Perce</span>
tribe in the US Northwest.
</p>
<p>
They are often characterized by their spotted coats, as shown here:
<img src="appaloosa.png" alt="Appaloosa horses"/>
</p>
<!--footer-->
<p>
Copyright:
<em>Zebulon Inc.</em>
</p>
</body>
</html>

View file

@ -0,0 +1,5 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="withinTextParam">firstkeyword</its:param>
<its:withinTextRule selector="//h:cite" withinText="nested"/>
<its:withinTextRule selector="//h:section/h:span[@itemprop=$withinTextParam]" withinText="no"/>
</its:rules>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="withinparam">copyright</its:param>
<its:withinTextRule selector="//h:cite" withinText="nested"/>
<its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/>
</its:rules>
</script>
<meta charset=utf-8>
<title>Appaloosa</title>
</head>
<body>
<section itemscope>
<h2>keywords</h2>
<span itemprop="keyword">horse</span>
<span itemprop="keyword">appaloosa</span>
</section>
<p itemscope>
The Appaloosa
<cite>
The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho.
</cite>
are rugged horses originally breed by the
<span itemprop="keyword">Nez-Perce</span>
tribe in the US Northwest.
</p>
<p>
They are often characterized by their spotted coats, as shown here:
<img src="appaloosa.png" alt="Appaloosa horses"/>
</p>
<!--footer-->
<p id="copyright">
Copyright:
<em>Zebulon Inc.</em>
</p>
</body>
</html>

View file

@ -0,0 +1,12 @@
<doc>
<head>
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
<its:withinTextRule withinText="nested" selector="//fn"/>
</its:rules>
</head>
<body>
<p>This is a paragraph with <b>bold</b>, <i>italic</i>, and <u>underlined</u>.</p>
<p>This is a paragraph with a footnote<fn>This is the text of the footnote</fn> at the middle.</p>
</body>
</doc>

View file

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<myDocument xmlns="http://my.DocumentURI/" xml:lang="en">
<prolog>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="withintext2xmlrules.xml"
xmlns:d="http://my.DocumentURI/">
<its:withinTextRule selector="//d:keywords/d:kw" withinText="no"/>
</its:rules>
<author>Zebulon Fairfield</author>
<version>version 12, revision 2 - 2006-08-14</version>
<keywords><kw>horse</kw><kw>appaloosa</kw></keywords>
<storageKey>articles-6D272BA9-3B89CAD8</storageKey>
</prolog>
<content>
<section>
<title>Appaloosa</title>
<p>The Appaloosa<fnote>The name comes from "Palouse horse" in reference
to the Palouse River in Northern Idaho.</fnote> are rugged horses
originally breed by the <kw>Nez-Perce</kw> tribe in the US Northwest.</p>
<p>They are often characterized by their spotted coats, as shown
here: <img src="appaloosa.png" alt="Appaloosa horses"/></p>
</section>
<footer><p>Copyright: <em>Zebulon Inc.</em></p></footer>
</content>
</myDocument>

View file

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"
xmlns:d="http://my.DocumentURI/">
<its:withinTextRule selector="//d:kw|//d:img|//d:em" withinText="yes"/>
<its:withinTextRule selector="//d:fnote" withinText="nested"/>
</its:rules>

View file

@ -0,0 +1,11 @@
<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<prolog>
<title its:withinText="no">Designing User Interfaces</title>
<author its:withinText="no">Janice Prakash</author>
<keywords its:withinText="no">user interface, ui, software interface</keywords>
</prolog>
<body>
<p>The book <title its:withinText="yes">Of Mice and Screens</title> by <author its:withinText="yes">Aldus
Brandywine</author> is one of the best introductions to the vast topic of designing user interfaces.</p>
</body>
</text>

View file

@ -0,0 +1,12 @@
<text xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
<prolog>
<its:span withinText="no">Designing User Interfaces</its:span>
<its:span withinText="no">Janice Prakash</its:span>
<its:span withinText="no">user interface, ui, software interface</its:span>
</prolog>
<body>
<p>The book <its:span withinText="yes">Of Mice and Screens</its:span> by <its:span withinText="yes">Aldus
Brandywine</its:span> is one of the best introductions to the vast topic of designing user interfaces.</p>
</body>
</text>

View file

@ -0,0 +1,25 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="withinTextParam">footnote</its:param>
<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
</its:rules>
</head>
<body>
<p>
This is a paragraph with
<b>bold</b>
,
<i>italic</i>
, and
<u>underlined</u>
.
</p>
<p>
This is a paragraph with a footnote
<fn id="footnote">This is the text of the footnote</fn>
at the middle.
</p>
</body>
</doc>

View file

@ -0,0 +1,21 @@
<doc>
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="withintext6xmlrules.xml"/>
</head>
<body>
<p>
This is a paragraph with
<b>bold</b>
,
<i>italic</i>
, and
<u>underlined</u>
.
</p>
<p>
This is a paragraph with a footnote
<fn id="footnote">This is the text of the footnote</fn>
at the middle.
</p>
</body>
</doc>

View file

@ -0,0 +1,5 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="withinTextParam">footnote</its:param>
<its:withinTextRule withinText="yes" selector="//b|//u|//i"/>
<its:withinTextRule withinText="nested" selector="//fn[@id=$withinTextParam]"/>
</its:rules>

View file

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<link href="externalresource1htmlrules.xml" rel="its-rules"/>
<title>Video element example</title>
</head>
<body>
<video
width="640"
height="360"
src="http://www.example.com/video/v2.mp"
poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:externalResourceRefRule selector="//h:video/@src" externalResourceRefPointer="."/>
<its:externalResourceRefRule selector="//h:video/@poster" externalResourceRefPointer="."/>
</its:rules>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<link href="externalresource2htmlrules.xml" rel="its-rules"/>
<title>Video element example</title>
</head>
<body>
<p id='1'>
<video
width="640"
height="360"
src="http://www.example.com/video/v2.mp3"
poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp3">download the video</a> instead.</video>
</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="externalresourceParam">1</its:param>
<its:externalResourceRefRule selector="//h:p[@id=$externalresourceParam]/h:video" externalResourceRefPointer="@poster"/>
</its:rules>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang=en>
<head>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="externalresourceParam">video-image.png</its:param>
<its:externalResourceRefRule selector="//h:video[@poster=$externalresourceParam]" externalResourceRefPointer="@src"/>
</its:rules>
</script>
<meta charset=utf-8>
<title>Video element example</title>
</head>
<body>
<video
width="640"
height="360"
src="http://www.example.com/video/v2.mp"
poster="video-image.png">If your browser doesn't support the <code>video</code> element, you can <a href="http://www.example.com/video/v2.mp">download the video</a> instead.</video>
</body>
</html>

View file

@ -0,0 +1,24 @@
<doc
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:dbk="http://docbook.org/ns/docbook" >
<its:rules version="2.0">
<its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
</its:rules>
<dbk:mediaobject>
<dbk:videoobject>
<dbk:videodata fileref="movie.avi"/>
</dbk:videoobject>
<dbk:imageobject>
<dbk:imagedata fileref="movie-frame.gif"/>
</dbk:imageobject>
<dbk:textobject>
<dbk:para>This video illustrates the proper way to assemble an inverting time distortion
device. </dbk:para>
<dbk:warning>
<dbk:para> It is imperative that the primary and secondary temporal couplings not be
mounted in the wrong order. Temporal catastrophe is the likely result. The
future you destroy may be your own. </dbk:para>
</dbk:warning>
</dbk:textobject>
</dbk:mediaobject>
</doc>

View file

@ -0,0 +1,22 @@
<doc
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:dbk="http://docbook.org/ns/docbook" >
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource2xmlrules.xml"/>
<dbk:mediaobject>
<dbk:videoobject>
<dbk:videodata fileref="movie.avi"/>
</dbk:videoobject>
<dbk:imageobject>
<dbk:imagedata fileref="movie-frame.gif"/>
</dbk:imageobject>
<dbk:textobject>
<dbk:para>This video illustrates the proper way to assemble an inverting time distortion
device. </dbk:para>
<dbk:warning>
<dbk:para> It is imperative that the primary and secondary temporal couplings not be
mounted in the wrong order. Temporal catastrophe is the likely result. The
future you destroy may be your own. </dbk:para>
</dbk:warning>
</dbk:textobject>
</dbk:mediaobject>
</doc>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
<its:externalResourceRefRule selector="//dbk:imagedata | //dbk:audiodata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
</its:rules>

View file

@ -0,0 +1,28 @@
<doc
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:dbk="http://docbook.org/ns/docbook" >
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource3xmlrules.xml"/>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
<its:externalResourceRefRule selector="//dbk:audiodata" externalResourceRefPointer="@fileref"/>
</its:rules>
<dbk:mediaobject>
<dbk:videoobject>
<dbk:videodata fileref="movie.avi"/>
</dbk:videoobject>
<dbk:audioobject>
<dbk:audiodata fileref="movie.mp3"/>
</dbk:audioobject>
<dbk:imageobject>
<dbk:imagedata fileref="movie-frame.gif"/>
</dbk:imageobject>
<dbk:textobject>
<dbk:para>This video illustrates the proper way to assemble an inverting time distortion
device. </dbk:para>
<dbk:warning>
<dbk:para> It is imperative that the primary and secondary temporal couplings not be
mounted in the wrong order. Temporal catastrophe is the likely result. The
future you destroy may be your own. </dbk:para>
</dbk:warning>
</dbk:textobject>
</dbk:mediaobject>
</doc>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:dbk="http://docbook.org/ns/docbook" version="2.0">
<its:externalResourceRefRule selector="//dbk:imagedata | //dbk:videodata" externalResourceRefPointer="@fileref"/>
</its:rules>

View file

@ -0,0 +1,25 @@
<doc
xmlns:its="http://www.w3.org/2005/11/its"
xmlns:dbk="http://docbook.org/ns/docbook" >
<its:rules version="2.0">
<its:param name="externalResourceParam">movie-frame.gif</its:param>
<its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
</its:rules>
<dbk:mediaobject>
<dbk:videoobject>
<dbk:videodata fileref="movie.avi"/>
</dbk:videoobject>
<dbk:imageobject>
<dbk:imagedata fileref="movie-frame.gif"/>
</dbk:imageobject>
<dbk:textobject>
<dbk:para>This video illustrates the proper way to assemble an inverting time distortion
device. </dbk:para>
<dbk:warning>
<dbk:para> It is imperative that the primary and secondary temporal couplings not be
mounted in the wrong order. Temporal catastrophe is the likely result. The
future you destroy may be your own. </dbk:para>
</dbk:warning>
</dbk:textobject>
</dbk:mediaobject>
</doc>

View file

@ -0,0 +1,20 @@
<doc xmlns:dbk="http://docbook.org/ns/docbook" >
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="externalresource5xmlrules.xml"/>
<dbk:mediaobject>
<dbk:videoobject>
<dbk:videodata fileref="movie.avi"/>
</dbk:videoobject>
<dbk:imageobject>
<dbk:imagedata fileref="movie-frame.gif"/>
</dbk:imageobject>
<dbk:textobject>
<dbk:para>This video illustrates the proper way to assemble an inverting time distortion
device. </dbk:para>
<dbk:warning>
<dbk:para> It is imperative that the primary and secondary temporal couplings not be
mounted in the wrong order. Temporal catastrophe is the likely result. The
future you destroy may be your own. </dbk:para>
</dbk:warning>
</dbk:textobject>
</dbk:mediaobject>
</doc>

View file

@ -0,0 +1,5 @@
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
xmlns:dbk="http://docbook.org/ns/docbook">
<its:param name="externalResourceParam">movie-frame.gif</its:param>
<its:externalResourceRefRule selector="//dbk:imagedata[@fileref=$externalResourceParam]" externalResourceRefPointer="@fileref"/>
</its:rules>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Id Value</title>
<link href="idvalue1htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p id="settingsMissing">
<b id="text">Can't find settings file.</b>
<var id="desc">The module cannot find the default settings file.
You need to re-initialize the system.</var>
</p>
</body>
</html>

View file

@ -0,0 +1,6 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:idValueRule selector="//h:p" idValue="@id"/>
<its:idValueRule selector="//h:b" idValue="@id"/>
<its:idValueRule selector="//h:var" idValue="@id"/>
</its:rules>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Id Value</title>
<link href="idvalue2htmlrules.xml" rel="its-rules"/>
</head>
<body>
<p id="settingsMissing">
<b id="text">Can't find settings file.</b>
<var id="desc">The module cannot find the default settings file.
You need to re-initialize the system.</var>
<b id="crashtext">This computer is now crashing GOODBYE!!</b>
</p>
</body>
</html>

View file

@ -0,0 +1,7 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="idvalueparam">text</its:param>
<its:idValueRule selector="//h:p" idValue="@id"/>
<its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
<its:idValueRule selector="//h:b[@id='crashtext']" idValue="@id"/>
<its:idValueRule selector="//h:var" idValue="@id"/>
</its:rules>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="idvalueparam">text</its:param>
<its:idValueRule selector="//h:p" idValue="@id"/>
<its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/>
<its:idValueRule selector="//h:var" idValue="@id"/>
</its:rules>
</script>
<meta charset=utf-8>
<title>Id Value</title>
</head>
<body>
<p id="settingsMissing">
<b id="text">Can't find settings file.</b>
<var id="desc">The module cannot find the default settings file.
You need to re-initialize the system.</var>
</p>
</body>
</html>

View file

@ -0,0 +1,20 @@
<resource
xmlns:its="http://www.w3.org/2005/11/its" >
<its:rules version="2.0">
<its:idValueRule selector="//text" idValue="../@name"/>
</its:rules>
<webform>
<entry name="btn.OK">
<text>OK</text>
<pos>1, 1</pos>
<trig>sendOK</trig>
</entry>
</webform>
<webform>
<entry name="btn.CANCEL">
<text>Cancel</text>
<pos>2, 1</pos>
<trig>cancelAll</trig>
</entry>
</webform>
</resource>

View file

@ -0,0 +1,4 @@
<file>
<res name="retryBtn" xml:id="btnAgain">Try Again</res>
<res name="retryTip">click this to re-run the process with the current settings.</res>
</file>

View file

@ -0,0 +1,13 @@
<resource>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue3xmlrules.xml"/>
<entry name="btn.OK">
<text>OK</text>
<pos>1, 1</pos>
<trig>sendOK</trig>
</entry>
<entry name="btn.CANCEL">
<text>Cancel</text>
<pos>2, 1</pos>
<trig>cancelAll</trig>
</entry>
</resource>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:idValueRule selector="//entry" idValue="@name"/>
</its:rules>

View file

@ -0,0 +1,17 @@
<resource>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="idvalue4xmlrules.xml"/>
<webform id="1">
<entry name="btn.OK">
<text>OK</text>
<pos>1, 1</pos>
<trig>sendOK</trig>
</entry>
</webform>
<webform id="2">
<entry name="btn.CANCEL">
<text>Cancel</text>
<pos>2, 1</pos>
<trig>cancelAll</trig>
</entry>
</webform>
</resource>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="idvalueParam">1</its:param>
<its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
</its:rules>

View file

@ -0,0 +1,20 @@
<resource>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="idvalueParam">1</its:param>
<its:idValueRule selector="//webform[@id=$idvalueParam]/entry" idValue="@name"/>
</its:rules>
<webform id="1">
<entry name="btn.OK">
<text>OK</text>
<pos>1, 1</pos>
<trig>sendOK</trig>
</entry>
</webform>
<webform id="2">
<entry name="btn.CANCEL">
<text>Cancel</text>
<pos>2, 1</pos>
<trig>cancelAll</trig>
</entry>
</webform>
</resource>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8>
<link href="languageinfo1htmlrules.xml" rel="its-rules"/>
<title>EXAMPLE</title>
</head>
<body>
<p>The motto of Québec is:
<q lang="fr-CA">Je me souviens</q>
.</p>
<p>La devise du Québec est :
<q lang="fr-CA">Je me souviens</q>
.</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:langRule selector="/h:*" langPointer="@lang"/>
<its:langRule selector="//h:q" langPointer="@lang"/>
</its:rules>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<link href="languageinfo2htmlrules.xml" rel="its-rules"/>
<title>EXAMPLE</title>
</head>
<body>
<p>The motto of Québec is:
<q lang="fr-CA">Je me souviens</q>
.</p>
<p>La devise du Québec est :
<q lang="fr-CA">Je me souviens</q>
.</p>
</body>
</html>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="langParam">fr-CA</its:param>
<its:langRule selector="//h:q[@lang=$langParam]" langPointer="@lang"/>
</its:rules>

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<script type="application/its+xml">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:param name="langinfoparam">2</its:param>
<its:langRule selector="//h:p[@id=$langinfoparam]/h:q" langPointer="@lang"/>
</its:rules>
</script>
<title>EXAMPLE</title>
</head>
<body>
<p id="1">The motto of Québec is:
<q>Je me souviens</q>
.</p>
<p id="2">La devise du Québec est :
<q lang="fr-CA">Je me souviens</q>
.</p>
</body>
</html>

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<text>
<head>
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
<its:langRule selector="//content" langPointer="@language"/>
<its:langRule selector="//q" langPointer="@language"/>
</its:rules>
</head>
<content language="en">
<par>The motto of Québec is: <q language="fr-CA">Je me souviens</q>.</par>
<par>The one of Canada: <q language="la">A mari usque ad mare</q>.</par>
</content>
</text>

View file

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<text language="en">
<head>
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its"
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="languageinfo2xmlrules.xml">
<its:langRule selector="//content/item/text" langPointer="../lang"/>
</its:rules>
</head>
<content>
<item>
<lang>en</lang>
<text>The motto of Québec is: <q language="fr-CA">Je me souviens</q>.</text>
</item>
<item>
<lang>fr-CA</lang>
<text>La devise du Québec est : <q>Je me souviens</q>.</text>
</item>
</content>
</text>

View file

@ -0,0 +1,4 @@
<?xml version="1.0"?>
<its:rules version="2.0" xmlns:its="http://www.w3.org/2005/11/its">
<its:langRule selector="/text" langPointer="@language"/>
</its:rules>

View file

@ -0,0 +1,20 @@
<text language="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="langParam">fr-CA</its:param>
<its:langRule selector="//par/q[@language=$langParam]" langPointer="@language"/>
</its:rules>
</head>
<content>
<par>
The motto of Québec is:
<q language="fr-CA">Je me souviens</q>
.
</par>
<par>
The one of Canada:
<q language="la">A mari usque ad mare</q>
.
</par>
</content>
</text>

View file

@ -0,0 +1,24 @@
<text language="en">
<head>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:href="languageinfo4xmlrules.xml">
</its:rules>
</head>
<content>
<item>
<lang>en</lang>
<text>
The motto of Québec is:
<q language="fr-CA">Je me souviens</q>
.
</text>
</item>
<item>
<lang>fr-CA</lang>
<text>
La devise du Québec est :
<q>Je me souviens</q>
.
</text>
</item>
</content>
</text>

View file

@ -0,0 +1,4 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:param name="langParam">fr-CA</its:param>
<its:langRule selector="//q[@language=$langParam]" langPointer="@language"/>
</its:rules>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Locale filter</title>
<link href="locale1htmlrules.xml" rel="its-rules"/>
</head>
<body>
<div id="Canada">
<p>This legal notice is only for Canadian locales.</p>
</div>
</body>
</html>

View file

@ -0,0 +1,3 @@
<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
<its:localeFilterRule selector="//h:div[@id='Canada']" localeFilterList="en-CA, fr-CA"/>
</its:rules>

View file

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Locale filter</title>
</head>
<body>
<div its-locale-filter-list="en-CA, fr-CA" id="Canada">
<p>This legal notice is only for Canadian locales.</p>
</div>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Locale filter</title>
<link href="locale3htmlrules.xml" rel="its-rules"/>
</head>
<body>
<div id="Canada">
<p>This legal notice is only for Canadian locales.</p>
</div>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more