Re: [PHP4BETA] XML DOM and top-level document constructs
| From: | Uwe Steinmann | Date: | Tue, 29 Feb 2000 11:11:36 +0000 |
| Subject: | Re: [PHP4BETA] XML DOM and top-level document constructs | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11179@lists.php.net to get a copy of this message | ||
On Sat, Feb 26, 2000 at 09:58:47PM -0600, Paul DuBois wrote:
Paul,
your error reports are great.
I'll see if I can fix it.
Thanks a lot.
Uwe
> php 4.0b4-dev
>
> I'm trying to understand how top-level constructs are handled by the DOM
> support for XML documents. I've modified a copy of the tests/testdom script
> to perform tests 1 and 2 (which generate xmldoc and xmltree structures and
> print them). I'm using a very simple document as a test.
>
> First document, which has a single top-level construct, the <root> element:
>
> $xmlstr = "<?xml version='1.0'?>
> <root>
> <!-- comment -->
> <element>Text</element>
> </root>
> ";
[ more error reporting deleted ]
--
Uwe.Steinmann@fernuni-hagen.de
Tel: +2331 987 4528 Fax: +2331 987 375