Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21505 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8679 invoked by uid 1010); 13 Jan 2006 09:57:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8664 invoked from network); 13 Jan 2006 09:57:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2006 09:57:30 -0000 X-Host-Fingerprint: 84.92.162.233 scuzzy.plus.com Linux 2.5 (sometimes 2.4) (4) Received: from ([84.92.162.233:52881] helo=reverseorder.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E8/77-25674-98977C34 for ; Fri, 13 Jan 2006 04:57:29 -0500 Received: from reverseorder ([127.0.0.1] helo=reverseorder.net) by reverseorder.net with esmtp (Exim 3.36 #1 (Debian)) id 1ExLg5-0007DC-00 for ; Fri, 13 Jan 2006 09:57:01 +0000 To: "PHP" Reply-To: scuzzy@reverseorder.net Date: Fri, 13 Jan 2006 09:56:59 +0000 Message-ID: <20060113095322.M59305@reverseorder.net> X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 82.110.77.114 (scuzzy) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Subject: DOMImplementation From: scuzzy@reverseorder.net ("Daine Mamacos") I was wondering if anyone had any ideas about this: I had extended the DOM classes to make my own xDocument object. Now, I want to be able to specify a new DTD in the document by default. The problem is, that the DOMImplementation only returns a dom document. Now I want to be able to get my xDocument back somehow. Is there any way I can take a dom implementation and shove it into my xDocument somehow? I've tried setting the members on my xDocument to point to this new implementation, but dom makes sure those members are read only. Any idea's? Many thanks Daine Mamacos. -- random signature