- From: Yves Savourel <yves@opentag.com>
- Date: Fri, 31 Mar 2006 06:52:01 -0700
- To: "'Felix Sasaki'" <fsasaki@w3.org>
- Cc: <public-i18n-its@w3.org>
Hi felix, all,
I was looking at the latest editor's spec and noted the following:
--- Example 5:
I don't think we should use prefix with DITA as they hardcode the prefix to be '' in the DTD.
I suggested to use the following example instead (validate with XMLSpy (except for the ITS bit)):
<topic id="myTopic" xml:lang="en-us">
<title>Using ITS</title>
<prolog>
<its:rules xmlns:its="http://www.w3.org/2005/11/its">
<its:translateRule its:selector="//term" its:translate="no" />
</its:rules>
</prolog>
<body>
<p>An <term>ITS namespace</term> definition exists...</p>
</body>
</topic>
--- Example 11:
(That is the old example 18 (the one Jirka noted))
I think it should be:
<topic id="myTopic">
<title>The ITS Topic</title>
<prolog>
<its:rules xmlns:its="http://www.w3.org/2005/11/its">
<its:translateRule its:selector="//*[@translate='no']" its:translate="no"/>
<its:translateRule its:selector="//*[@translate='yes']" its:translate="yes"/>
<its:termRule its:selector="//term | //dt"/>
</its:rules>
</prolog>
<body>
<dl>
<dlentry id="tDataCat">
<dt>Data category</dt>
<dd>ITS defines <term>data category</term> as an abstract concept for a particular type of information for internationalization
and localization of XML schemas and documents.</dd>
</dlentry>
</dl>
<p>For the implementation of ITS, apply the rules in the order:</p>
<ul>
<li>Default</li>
<li>Rules in the schema</li>
<li>Rules in the document instance</li>
<li>Local attributes</li>
</ul>
<p><ph translate="no" xml:lang="fr">Et voilą !</ph> The last rule wins.</p>
</body>
</topic>
Talk to you soon,
-ys
Received on Friday, 31 March 2006 13:52:19 UTC