summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml
new file mode 100644
index 0000000000..2c7674a247
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/domain/xml/domain2xml.xml
@@ -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>