Subject: RE: number format test
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Wed, 2 Aug 2000 17:22:17 +0100
|
> <xsl:number> is useful for special numbering: a, b, c,...; i,
> ii, iii...; etc.
> I want further formats. In Japanese text, the following
> formats are useful.
>
> format="あ" (Hiragana A, I, U, ...)
> format="ア" (Katakana A, I, U, ...)
> format="い" (Hiragana I, RO, HA, ...)
> format="イ" (Katakana I, RO, HA, ...)
> format="一" (Kanji 1, 2, 3, ...)
> format="1" (Fullwidth 1, 2, 3, ...)
>
As I mentioned, I'd welcome information on these sequences so I can include
them in Saxon. Meanwhile, however, you do have the option to define your own
numbering sequences, simply by providing a class
com.icl.saxon.number.Numberer_jp that contains the necessary logic, and then
invoking xsl:number with lang="jp".
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|