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.0.1.tar.gz (2.9 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.0.1-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for xmlx-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7895112c364ad05e09cff4425bfb86f68618ac217daccc2a6842e3ecf48f9130
MD5 4723e8fcf8619d5551ef8f0e1a61fb1c
BLAKE2b-256 0bdaac3744f6cacd6c0a15a6b25c2904c41262c6a7473b7ef5ef874057539d82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xmlx-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e2deec13dafcad9a559c1d8080f28ebe62045504d43a3d3534d13c1622c98d45
MD5 19bbf7cc82be000230ed6213ce83d12e
BLAKE2b-256 b931879b11e5f0ca9e7bfb3984caad513e64d3533026b98907493995b71e7784

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