This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: number format test
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: number format test
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Wed, 2 Aug 2000 17:22:17 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <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