Skip to main content

Reference

XML namespace directory

Namespace URIs are identifiers, not addresses — they are matched literally, so a single wrong character silently changes what a document means. Here is what each one is for.

Which namespaces does this format need?

The declarations a conforming document of each format normally carries. Missing one is not a parse error — the document stays well-formed and quietly means something else.

FormatRootNamespaces to declare
XML sitemap<urlset>
  • http://www.sitemaps.org/schemas/sitemap/0.9
Sitemap index<sitemapindex>
  • http://www.sitemaps.org/schemas/sitemap/0.9
RSS 2.0<rss>None — RSS 2.0 elements are unqualified
Atom 1.0<feed>
  • http://www.w3.org/2005/Atom
SOAP envelope<Envelope>
  • http://schemas.xmlsoap.org/soap/envelope/
  • http://www.w3.org/2003/05/soap-envelope
XML Schema (XSD)<schema>
  • http://www.w3.org/2001/XMLSchema
WSDL<definitions>
  • http://schemas.xmlsoap.org/wsdl/
XSLT stylesheet<stylesheet>
  • http://www.w3.org/1999/XSL/Transform
SVG<svg>
  • http://www.w3.org/2000/svg
OPML<opml>None — RSS 2.0 elements are unqualified
RDF/XML<RDF>
  • http://www.w3.org/1999/02/22-rdf-syntax-ns#
GPX<gpx>
  • http://www.topografix.com/GPX/1/1
KML<kml>
  • http://www.opengis.net/kml/2.2
XLIFF<xliff>
  • urn:oasis:names:tc:xliff:document:1.2
UBL Invoice<Invoice>
  • urn:oasis:names:specification:ubl:schema:xsd:Invoice-2

Every namespace

Want the document formats these belong to? Browse the format reference.

Get started

See which namespaces your own documents actually declare.

XMLDir extracts every xmlns declaration it finds, so you can tell what a partner really sends rather than what their spec claims.