Re: Multiple language support for xsl-fo

> Now I need to support various languages for the static contents in the
> xsl-fo.

There are several approaches to the problem.  Here are some links to get you
started.

http://aspn.activestate.com/ASPN/Cookbook/XSLT/Recipe/65427

http://www.biglist.com/lists/xsl-list/archives/199901/msg00344.html

http://sources.redhat.com/ml/xsl-list/2000-08/msg01318.html

> Should I have different xsl-fo files for different languages or are
> there any other simple way to do this?

Not typically.  You may want to make modifications to properties of your
formatting objects (writing-mode, for example) based upon the language, thus
the transformation responsible for generating FO will want to make choices
about attribute sets or properties as well as content.  That is, it is
possible to centralize this task in one stylesheet to ease maintenance.

Received on Wednesday, 19 March 2003 16:04:18 UTC