translate8xml.xml (1002B)
1 <topic id="myTopic"> 2 <title>The ITS Topic</title> 3 <prolog> 4 <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> 5 <its:translateRule selector="//*" translate="no"/> 6 <its:translateRule selector="//p" translate="yes"/> 7 <!-- With these rules only the text "For the implementation of ITS, apply the rules in the order:" 8 and " The last rule wins." should end up translatable --> 9 </its:rules> 10 </prolog> 11 <body> 12 <dl> 13 <dlentry id="tDataCat"> 14 <dt>Data category</dt> 15 <dd>ITS defines <term>data category</term> as an abstract concept for a particular 16 type of information for internationalization and localization of XML schemas and documents.</dd> 17 </dlentry> 18 </dl> 19 <p>For the implementation of ITS, apply the rules in the order:</p> 20 <ul> 21 <li>Default</li> 22 <li>Rules in the schema</li> 23 <li>Rules in the document instance</li> 24 <li>Local attributes</li> 25 </ul> 26 <p><ph xml:lang="fr">Et voilĂ !</ph> The last rule wins.</p> 27 </body> 28 </topic>