- From: <w3t-archive+esw-wiki@w3.org>
- Date: Sun, 19 Feb 2006 07:08:20 -0000
- To: w3t-archive+esw-wiki@w3.org
Dear Wiki user, You have subscribed to a wiki page or wiki category on "ESW Wiki" for change notification. The following page has been changed by YvesSavourel: http://esw.w3.org/topic/its0601TechTransDev ------------------------------------------------------------------------------ ITS offers a mechanism to include translatability information within a schema document. - For example you can use the ITS <schemaRule> element to indicate whether the content of an element or the value of an attribute is translatable or not. + You can use the ITS <schemaRule> element to indicate whether the content of an element or the value of an attribute is translatable or not. For example, the following <schemaRule> element specifies that the content of the element <headInfo> is not translatable. @@ -32, +32 @@ </xs:element>}}} + You can use this mechanism in both XML Schema and RELAX NG. + === Create a list of rules === - In the cases where you cannot modify the schema, or work with DTDs, you can specify the translatability rules of your document using the ITS <documentRules> element. + In the cases where you cannot modify the schemas, or work with DTDs, you can specify the translatability rules of your document type by using the ITS <documentRules> element in a standalone document. - For example, the following document lists two exception to the default ITS translatability assumptions. It states that the content of the <headinfo> element is not translatable, and that the value of any desc attribute in a <pict> element is translatable. + For example, the following document lists two exceptions to the default ITS translatability assumptions. It states that the content of the <headinfo> element is not translatable, and that the value of a desc attribute in a <pict> element is translatable. {{{<its:documentRules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xyz="myXYZDocumentType">
Received on Sunday, 19 February 2006 17:05:00 UTC