Skip to main content

A simple and compact XML parser.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

XMLX - a simple and compact XML parser.

XMLX = XML eXtras

To initialize an element object from a string:

``>>> xmlx.Element('<html>hello!</html>')``

``<html>..</html at 0x...>``

If you prefer dictionaries, simply use ``xmlx.elemdict(text)``:

``>>> xmlx.elemdict('<html>hello!</html>')``

``{'?':{},'@':'hello!','*':'<html>hello!</html>'}``

``?`` is the element's attributes, ``@`` is its content (JS innerHTML), and ``*$

See help(xmlx) for further documentation.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xmlx-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xmlx-0.1.0-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file xmlx-0.1.0.tar.gz.

File metadata

  • Download URL: xmlx-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for xmlx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec0d12b30d850fa01614a40fb73911c7f2233066201642b712a70e0fb55e3c46
MD5 024cd04af54b70bcf50b04e1d0c1c35d
BLAKE2b-256 3a47fbfe5e21afe69bbc256f828419a9fcd3d6d6fad8d1cf96ebfe3345f853df

See more details on using hashes here.

File details

Details for the file xmlx-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for xmlx-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 734d0e54c4424ef7121d51826c2ac2857028bdb338879e51421e844139cd0f00
MD5 f4155dbd7f39c2e68cee77afa0b2c42f
BLAKE2b-256 bf77d854902358d70e4117b4f77d02aad0daaaf075aa981d40f89a5bc9f741fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page