reference-namespaces.rst 594 B

12345678910111213141516171819
  1. .. _reference.namespaces:
  2. :py:attr:`namespaces`
  3. =====================
  4. A dictionary of all :abbr:`XML (Extensible Markup Language)` namespaces defined
  5. in the feed, as ``{prefix: namespaceURI}``.
  6. .. note::
  7. The prefixes listed in the :py:attr:`namespaces` dictionary may not match the
  8. prefixes defined in the original feed. See :ref:`advanced.namespaces` for more
  9. details.
  10. .. tip::
  11. This element always exists, although it may be an empty dictionary if the feed
  12. does not define any namespaces (such as an :abbr:`RSS (Rich Site Summary)` 2.0
  13. feed with no extensions).