Re: [docbook-apps] xinclude processing.

From
Jirka Kosek <>
Date
2005-05-23T07:38:02+00:00
ID
Thread
Re: [docbook-apps] xinclude processing.
Dave Pawson wrote:

> 2. Is it only libxslt that hacks xinclude as yet?
> (and any particular version please)

Almost any Java based XSLT processor can be made XInclude aware. If your 
XSLT processor uses Xerces for parsing, just pass this option to JVM:

-Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration

This will turn on XInclude support in Xerces. The only pitfall is that 
the latest official release 2.6.2 uses old XInclude namespace (2003). If 
you want to use correct (2001) XInclude namespace you should grab 
development version of Xerces from:

http://brutus.apache.org/gump/public-jars/xml-xerces2/

				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/
------------------------------------------------------------------