Choosing from the Xerces DOM implementations

From: Henri Sivonen (hsivonen_at_iki.fi)
Date: 03/31/04


Date: Wed, 31 Mar 2004 14:05:56 +0300

Xerces comes with a different DOM implementations tuned for different
purposes. The documentation shows how to choose the implementation using
the Xerces classes directly.

However, I need to pass a preconfigured JAXP DocumentBuilder onwards.
How do I configure which one of the Xerces DOM implementations is used
by the DocumentBuilder? My attempts at using the setAttribute() were
unsuccessful even though I used the Xerces implementation of
DocumentBuilderFactory.

-- 
Henri Sivonen
hsivonen@iki.fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html