XML Sitemaps Generator

Author Topic: XML document must have a top level element.  (Read 59873 times)

f4f

  • Approved member
  • *
  • Posts: 2
XML document must have a top level element.
« on: August 10, 2005, 05:09:46 PM »
Hi there,

I used the XML sitemap generator to create a sitemap.xml.

I downloaded it and saved it to my hardrive then published it to my public_html folder as per the instructions.

Below is the error code I receive in when i type [external links are visible to admins only] into internet explorer:

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

XML document must have a top level element. Error processing resource '[external links are visible to admins only]'.

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

This is the error I get from google when I try to add a new sitemap:

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

Sitemap Errors
Empty Sitemap

Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.
-----------------------------------------------------------------------------------------------------------------

The file the generator created looks ok and all the urls on my site are listed within it.... Can anyone help please ???



Thanks
F4F

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: XML document must have a top level element.
« Reply #1 on: August 10, 2005, 05:12:37 PM »
Hi F4F,

perhaps you've uploaded it incorrectly - http://www.first4forex.com/sitemap.xml URL returns an empty document.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

f4f

  • Approved member
  • *
  • Posts: 2
Re: XML document must have a top level element.
« Reply #2 on: August 10, 2005, 05:17:06 PM »
I uploaded it via Myftp and I can see the  xml file in the public_html ? Should it be somewhere else ?

How do I make the file have top level element ??
« Last Edit: August 10, 2005, 05:20:12 PM by f4f »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: XML document must have a top level element.
« Reply #3 on: August 10, 2005, 08:47:00 PM »
Hi,

you may try to download the file back from your host to ensure it was broken upload (it's content is not xml at all).
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

docman52

  • Guest
Re: XML document must have a top level element.
« Reply #4 on: September 21, 2005, 11:07:06 PM »
I have to say that I was impressed with your online sitemap generator.  I was able to generate my sitemap and upload it with no problem.  Just wondering why the results vary from one online generator to another.


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: XML document must have a top level element.
« Reply #5 on: September 24, 2005, 05:20:35 PM »
I have to say that I was impressed with your online sitemap generator.  I was able to generate my sitemap and upload it with no problem.  Just wondering why the results vary from one online generator to another.


Hi,
it is possible that some scripts couldn't find certain links within the pages (for instance, frames urls etc).
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

RalphOrange

  • Approved member
  • *
  • Posts: 1
Re: XML document must have a top level element.
« Reply #6 on: April 23, 2008, 09:55:54 PM »
I've read the message thread, and I am still a little confused, I ran into the same issue....[external links are visible to admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: XML document must have a top level element.
« Reply #7 on: April 23, 2008, 11:53:11 PM »
Did you upload resulting sitemap.xml file to your website? (domain root folder)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2