textanalysis1xml.xml (728B)
1 <?xml version="1.0"?> 2 <text> 3 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> 4 <its:textAnalysisRule selector="/text/body/p/*[@id='dublin']" 5 taClassRefPointer="@classref" 6 taIdentRefPointer="@identref"/> 7 <its:textAnalysisRule selector="/text/body/p/*[@id='capital']" 8 taClassRefPointer="@classref" 9 taSourcePointer="@source" 10 taIdentPointer="@ident"/> 11 </its:rules> 12 <body> 13 <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> 14 </body> 15 </text>