Skip to main content

Search 412 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, guides, blog and product.

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.

The whole xmlns="…" is fine, and so is a conventional prefix or an element name. Nothing is sent anywhere; the matching happens in your browser.

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
JUnit XML<testsuites>None — RSS 2.0 elements are unqualified
Maven POM<project>
  • http://maven.apache.org/POM/4.0.0
SAML 2.0<Response>
  • urn:oasis:names:tc:SAML:2.0:protocol
  • urn:oasis:names:tc:SAML:2.0:assertion
Property list<plist>None — RSS 2.0 elements are unqualified
DocBook 5<book>
  • http://docbook.org/ns/docbook
JATS article<article>None — RSS 2.0 elements are unqualified
MusicXML 4.0<score-partwise>None — RSS 2.0 elements are unqualified
MathML<math>
  • http://www.w3.org/1998/Math/MathML
XSL-FO<root>
  • http://www.w3.org/1999/XSL/Format

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.