OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Implementation-independent DOM construction?

[ Lists Home | Date Index | Thread Index ]
  • From: Norman Walsh <ndw@nwalsh.com>
  • To: XML-DEV@xml.org
  • Date: 28 Jun 2000 10:43:57 -0400

At the risk of exposing my ignorance...

For some time now, I've had a (Java) class that reads an XML document
using SAX. This class has the nice property that you pass in the name
of the SAX Parser class that you want to use, so you can use
absolutely any SAX implementation you want.

Now I have reason to want to change the class so that it builds and
uses a DOM. But I'm having no luck in figuring out how to make this
work while simultaneously maintaining implementation independence.
There appears to be no (implementation-independent) interface that
includes a method that returns a DOM Document node from an XML file.

Am I missing something? What is it?

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Through space the universe grasps me
http://nwalsh.com/            | and swallows me up like a speck;
                              | through thought I grasp it.--Pascal

This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS