summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/xml/textanalysis1xml.xml
blob: 0aa9803ac3b27abdd3625bd03df061f5476001d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0"?>
<text>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
    <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']"
      taClassRefPointer="@classref"
      taIdentRefPointer="@identref"/>
    <its:textAnalysisRule selector="/text/body/p/*[@id='capital']"
      taClassRefPointer="@classref"
      taSourcePointer="@source"
      taIdentPointer="@ident"/>
  </its:rules>
  <body>
    <p><span classref="http://nerd.eurecom.fr/ontology#Location" id="dublin" identref="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" classref="http://nerd.eurecom.fr/ontology#City" source="Wordnet3.0" ident="301467919">capital</span> of Ireland.</p>
  </body>
</text>