Skip to Content.
Sympa Menu

xom-interest - RE: [XOM-interest] XInclude

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Hallvard Trætteberg <hal AT idi.ntnu.no>, <xom-interest AT lists.ibiblio.org>
  • Cc:
  • Subject: RE: [XOM-interest] XInclude
  • Date: Mon, 13 Oct 2003 19:13:32 -0400

At 12:30 AM +0200 10/14/03, Hallvard Trætteberg wrote:

I wouldn't do it in the NodeFactory, as this functionality is really
orthogonal to instantiating custom Node classes. Instead, let Builder
check the Element returned from finishElement and XInclude if needed
(and desired).

NodeFactory isn't just for instantiating custom Node classes. It can do a lot more than that, and with a few obvious changes it should be straight-forward to use a different NodeFactory to get the Builder to resolve XIncludes.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page