<text xml:lang="en">
 <head>
  <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
   <its:param name="dirParam">rtlText</its:param>
   <its:dirRule dir="rtl" selector="//*[@direction=$dirParam]"/>
  </its:rules>
 </head>
 <body>
  <par>In Hebrew, the title <quote xml:lang="he"
   direction="rtlText">פעילות הבינאום, W3C</quote>
   means <quote>Internationalization Activity, W3C</quote>.</par>
 </body>
</text>