Explanation

Code 22 is used to indicate that the language of the text has been specified to improve text-to-speech rendering of the content.

For HTML documents, this is done by setting the lang attribute. For XHTML documents and XML grammars, the xml:lang attribute is used.

In addition to setting the global language for a document, individual words, phrases or passages in a different language also need to be tagged, unless the words have become part of the primary language.

For EPUB, this code requires setting the language of the metadata in the package document, not just in content documents.

For more information, refer to the HTML Language and EPUB Language sections of the knowledge base.

Examples

Example 1 — Complete language tagging
<ProductFormFeature>
   <ProductFormFeatureType>09</ProductFormFeatureType>
   <ProductFormFeatureValue>22</ProductFormFeatureValue>
</ProductFormFeature>

Related Links