Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 7e03e96dde1cbbdbc7cc96424cd9e059 > files > 121

python-feedparser-doc-5.1.3-3.fc18.noarch.rpm

.. _reference.namespaces:

:py:attr:`namespaces`
=====================

A dictionary of all :abbr:`XML (Extensible Markup Language)` namespaces defined
in the feed, as ``{prefix: namespaceURI}``.

.. note::

    The prefixes listed in the :py:attr:`namespaces` dictionary may not match the
    prefixes defined in the original feed.  See :ref:`advanced.namespaces` for more
    details.

.. tip::

    This element always exists, although it may be an empty dictionary if the feed
    does not define any namespaces (such as an :abbr:`RSS (Rich Site Summary)` 2.0
    feed with no extensions).