This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] xinclude processing.
- From: Dave Pawson <davep at dpawson dot co dot uk>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 23 May 2005 16:53:52 +0100
- Subject: Re: [docbook-apps] xinclude processing.
- References: <1116761582.5080.19.camel@marge> <4291817B.6030505@kosek.cz>
- Reply-to: davep at dpawson dot co dot uk
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
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org