We have a need for this too. Any ideas
appreciated…
Gary
From: Perryn Fowler
[mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006
9:40 PM
To: [email protected]
Subject: How to
non-programatically turn on XInclude support?
Hi,
I have got XInclude working with xerces by calling
documentBuilderFactory.setName
spaceAware(true);
documentBuilderFactory.setXIncludeAware(true);
but the reason I want to enable XInclude support is so that I can
use includes in the configuration file of a third party product.
I would prefer not to have to patch this product to include the above calls=
,
in its parsing code for our app, so I would like to be able to configure
xerces non-programatically.
Is this possible?
( I have read about the various methods of changing the Parser
Configuration, but according to the docs the default configuration is
XIncludeAwareParserConfiguration
in any case - nevertheless XInclude processing isn not performed without th=
e
two calls above)
cheers
Perryn
--
-----------------------
Perryn Fowler
ThoughtWorks
|