summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml
new file mode 100644
index 0000000000..4692cdb087
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate8xml.xml
@@ -0,0 +1,28 @@
+<topic id="myTopic">
+ <title>The ITS Topic</title>
+ <prolog>
+ <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ <!-- With these rules only the text "For the implementation of ITS, apply the rules in the order:"
+ and " The last rule wins." should end up translatable -->
+ </its:rules>
+ </prolog>
+ <body>
+ <dl>
+ <dlentry id="tDataCat">
+ <dt>Data category</dt>
+ <dd>ITS defines <term>data category</term> as an abstract concept for a particular
+ type of information for internationalization and localization of XML schemas and documents.</dd>
+ </dlentry>
+ </dl>
+ <p>For the implementation of ITS, apply the rules in the order:</p>
+ <ul>
+ <li>Default</li>
+ <li>Rules in the schema</li>
+ <li>Rules in the document instance</li>
+ <li>Local attributes</li>
+ </ul>
+ <p><ph xml:lang="fr">Et voilĂ  !</ph> The last rule wins.</p>
+ </body>
+</topic>