AH Formatter / XSL Formatter
Q&A



Operation

Multilanguages

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  When I format multilingual documents, I cannot put the xml:lang attribute on the fo:root element. Please tell me where the xml:lang attribute need to be. [No.2002101804]
A. 

xml:lang is a shorthand of the country property and the language property. You can specify xml:lang where the country property and the language property can be specified. And the language can be changed.

<fo:block xml:lang="en">
    English flow(language code en)
</fo:block>

<fo:block xml:lang="zh-CN">
    Simplified Chinese flow(language code zh, country code CN)
</fo:block>

Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.