languageinfo3html.html (578B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset=utf-8> 5 <script type="application/its+xml"> 6 <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> 7 <its:param name="langinfoparam">2</its:param> 8 <its:langRule selector="//h:p[@id=$langinfoparam]/h:q" langPointer="@lang"/> 9 </its:rules> 10 </script> 11 <title>EXAMPLE</title> 12 </head> 13 <body> 14 <p id="1">The motto of Québec is: 15 <q>Je me souviens</q> 16 .</p> 17 <p id="2">La devise du Québec est : 18 <q lang="fr-CA">Je me souviens</q> 19 .</p> 20 </body> 21 </html>