php-general | 2000071
Date: 07/03/00
- Next message: Abdul-Kareem Abo-Namous: "[PHP] browser"
- Previous message: Michael Teter: "Re: [PHP] lots of session & POST thingy"
- In reply to: John Levon: "[PHP] Help with XML and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
on 7/3/00 11:02 AM, John Levon at moz <email protected> 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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Abdul-Kareem Abo-Namous: "[PHP] browser"
- Previous message: Michael Teter: "Re: [PHP] lots of session & POST thingy"
- In reply to: John Levon: "[PHP] Help with XML and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

