Re: [docbook-apps] Can I make XSL template for i18n

From
Jirka Kosek <>
Date
2009-11-22T17:25:17+00:00
ID
Thread
Re: [docbook-apps] Can I make XSL template for i18n
Akihiro Moriguchi wrote:


> I think it means I need a template for the "its" namespace, but I'm
> quite not for sure because of my lack of DocBook XML and XSL knowledge.
> 
> I'm now reading "DocBook XSL: The Complete Guide".
> Is it possible to write the template for the feature or need further
> reference?

Yes, you must add custom templates for handling your Ruby markup into
your customization layer, something like:

<xsl:template match="its:ruby" xmlns:its="http://www.w3.org/2005/11/its">
  ... code for handling ruby markup ...
</xsl:template>

Probably you will have to map Ruby markup to layout tables as support
for Ruby in web browsers and FO engines is very poor.

			Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail:       http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------