Re: ITS rules for OpenDocument

Sebastian Rahtz wrote:

> <its:translateRule selector="w:document" translate="no"/>
> <its:translateRule selector="w:p" translate="yes"/>

I think that you should prepend // here as selector in ITS is absolute 
location path, not just match pattern as in XSLT.

<its:translateRule selector="//w:document" translate="no"/>
<its:translateRule selector="//w:p" translate="yes"/>

-- 
------------------------------------------------------------------
   Jirka Kosek      e-mail: jirka@kosek.cz      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
------------------------------------------------------------------

Received on Wednesday, 30 July 2008 09:44:15 UTC