Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 58755 invoked from network); 18 Oct 2000 17:40:24 -0000 Received: from unknown (HELO ?63.170.231.16?) (63.170.231.16) by locus.apache.org with SMTP; 18 Oct 2000 17:40:24 -0000 Received: from cumin (cumin.rosetta.zon [172.16.16.106]) by [63.170.231.16] (8.9.2/8.9.2) with SMTP id KAA24647 for ; Wed, 18 Oct 2000 10:40:22 -0700 (PDT) (envelope-from kelly@ad1440.net) Message-ID: <011a01c0392a$7da440a0$6a1010ac@rosetta.zon> From: "Sean Kelly" To: References: Subject: Re: Question about document type nodes and JAXP Date: Wed, 18 Oct 2000 10:40:22 -0700 Organization: Independent Consultant MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > Really? That's what I'm doing, but I thought it would just be a temporary > hack. :-( I wish ... but as Arnaud said, there's no factory method in the DOM spec to get useful objects like this. In my own code, I've wrapped all non-DOM, non-SAX methods into a class with a bunch of static methods wrapping the underlying XML implementation (plus some API sugaring here and there) in order to minimize the impact of changes to versions of Xerces, or changes to other XML implementations. --Sean