Re: Help with XML and PHP

From: Date: Mon, 03 Jul 2000 15:20:48 +0000
Subject: Re: Help with XML and PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-4511@lists.php.net to get a copy of this message
on 7/3/00 11:02 AM, John Levon at moz@compsoc.man.ac.uk wrote: > <?xml version='1.0'?> > > <QUESTION>How muych ?</QUESTION> > <ANSWER>Too much</ANSWER> > > > > but I get this : > > How muych ?XML error: junk after document element at line 4 > > > can anybody help ? maybe because your file is not valid xml? XML spec states you need a single top level tag. So this should be valid: <?xml version='1.0'?> <myXML> <QUESTION>How muych ?</QUESTION> <ANSWER>Too much</ANSWER> </myXML> HTH James.

« previous php.general (#4511) next »