Re: [docbook-apps] jdk 1.5 and docbook xsl

From
Jirka Kosek <>
Date
2005-01-30T21:34:39+00:00
ID
Thread
Re: [docbook-apps] jdk 1.5 and docbook xsl
Pierre Attar wrote:

> BUt, I'm not able to use standards way of workinf, for example I always 
> serialize DOM trees before the different main steps of my process 
> because of incompatibles built trees.

This is not necessary probably. Saxon implements DOM interfaces for its 
own tree structure. See

http://saxon.sourceforge.net/saxon6.5.3/api-guide.html#Parser

and it also provides its own XPath API.

> As soon as I will be able to solve the translet problem, I will upgrade 
> to 1.5 ... using a sole and coherent implementation of DOM, SAX and XSLT.

If you add interpretive Xalan into your classpath (or use standalone 
JAXP 1.3) and if you will change appropriate property which specifies 
TransformerFactory you should be able to use JDK 1.5 with DocBook 
stylesheets right now.

java -Djavax.xml.transform.TransformerFactory=
     com.sun.org.apache.xalan.internal.processor.TransformerFactoryImpl ...

						Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------