Re: [docbook-apps] xinclude processing.

From
Dave Pawson <>
Date
2005-05-23T15:53:59+00:00
ID
1116863632.5055.7.camel@marge
Thread
Re: [docbook-apps] xinclude processing.
On Mon, 2005-05-23 at 09:08 +0200, Jirka Kosek wrote:
> 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/

Thanks Jirka.
  
So... That would then parse the 'included' sections too?
  I need to do some more thinking.
(I guess I'll wait until Xerces catches up.. Wonder why they changed the
namespace?)

regards DaveP