sitemap - What is urlset?

Creating a sitemap.

Checked Google:
  <?xml version="1.0" encoding="UTF-8"?>
  < urlset xmlns="">
   < url>
    < loc></loc>
    < lastmod>2005-01-01</lastmod>
    < changefreq>monthly</changefreq>
    < priority>0.8</priority>

what is the following?:
 < urlset xmlns="">

is that where the sitemap is located on my site or?

your help much appreciated
Who is Participating?
jvuzConnect With a Mentor Commented:

Usually, sitemaps, use few details as meta data such as urlset which holds the whole set of urls available on the map, url which holds the details of each url in part, loc which represents the location of the url (the url itself), lastmod which should reflect the last date this page was updated/modified, priority which, in your opinion, represents the importance of that page (from 0.1 the lowest to 1.0 the highest rank) relative to the rest of your content and changefreq which should output how frequently that page is changed (Always, Hourly, Daily, Weekly, Monthly, Yearly, Never). The urlset, url and loc tags are required while the rest presented above are optional. All data values must be entity-escaped and the file itself must be UTF-8 encoded.

urlset: Encapsulates the file and references the current protocol standard.
ost87Author Commented:

what does that mean?
The first (root) element is urlset and within it, each url is defined by an <url> element.

URLSet is an abstract class, but its add method is concrete. It possibly writes the URL to a logfile, and if the URLSet is allowed to grow, calls  addInner.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.