summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/textanalysis/html/textanalysis5html.html
blob: 8f673df4ce7181890a4489d05be6518e0472eff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
 <head>
  <script type="application/its+xml">  
  <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" xmlns:h="http://www.w3.org/1999/xhtml">
    <its:param name="taCityParam">dublin</its:param>
    <its:param name="taCapitalParam">capital</its:param>
    <its:textAnalysisRule selector="//h:body/h:p/h:*[@id=$taCityParam]"
      taClassRefPointer="@typeof"
      taIdentRefPointer="@property"/>
    <its:textAnalysisRule selector="//h:body/h:p/h:*[@id=$taCapitalParam]"
      taClassRefPointer="@typeof"
      taSourcePointer="@property"
      taIdentPointer="@about"/>
  </its:rules>
  </script>  
  <meta charset=utf-8>
  <title>Textanalysis: Local Test</title>
 </head>
 <body>
  <p><span id="dublin" typeof="http://nerd.eurecom.fr/ontology#Location" property="http://dbpedia.org/resource/Dublin">Dublin</span> is the <span id="capital" typeof="http://nerd.eurecom.fr/ontology#City" about="301467919" property="Wordnet3.0">capital</span> of Ireland.</p>
 </body>
</html>