Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/index.php'.
Posted by: ralcala55 (206.209.209.---)
Date: January 23, 2008 09:34PM

Windows 2000, local machine. I just installed WAMP5. When I open a brower (IE) and enter localhost, I get this message:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/index.php'. Line 2, ...

<b>Notice</b>: Undefined variable: aliasContents in <b>C:\wamp\www\index.php</b> on line <b>1...


What should I be looking for? I have searched the microsoft support site but I can't find any solutions.

Options: ReplyQuote
Re: Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/index.php'.
Posted by: yfastud (Moderator)
Date: January 23, 2008 10:27PM

Make sure to have xml tag before any other tag, even your personal info

[test.jlbn.com]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/index.php'.
Posted by: ralcala55 (206.209.209.---)
Date: January 23, 2008 11:02PM

Can you describe the tag? Example?

Thanks

Options: ReplyQuote
Re: Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/index.php'.
Posted by: yfastud (Moderator)
Date: January 23, 2008 11:19PM

I've already put the link to the my xml websites and also put the codes there; check it out

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.