.. currentmodule:: javaproperties XML ``.properties`` Format ========================== Format Overview --------------- The XML ``.properties`` file format encodes a series of key-value string pairs (and optionally also a comment) as an XML document conforming to the following Document Type Definition (published at ): .. code-block:: dtd An example XML ``.properties`` file: .. code-block:: xml This is a comment. bar 🐐 127.0.0.1:80 This corresponds to the Python `dict`: .. code-block:: python { "foo": "bar", "snowman": "☃", "goat": "🐐", "host:port": "127.0.0.1:80", } Functions --------- .. autofunction:: dump_xml .. autofunction:: dumps_xml .. autofunction:: load_xml .. autofunction:: loads_xml