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.5.tar.gz (3.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.0.5-py2.py3-none-any.whl (4.7 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for xmlx-0.0.5.tar.gz
Algorithm Hash digest
SHA256 dd07965afa98935416a8d1711543bc52aa41467ed1c1332e8ec7bda36eb30166
MD5 91bb966666f5f1a8d6dc8e5cd168001a
BLAKE2b-256 e020051868fcffe4eb7b65bcd42ac107c4162176d4de1eb28e8d7e4d5dc66147

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for xmlx-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8206709a488773537816911e8ddfe91af858d8f25cf04e5569939741fed03bde
MD5 caf8d6401a0b8cb4814f96dda421f24b
BLAKE2b-256 69a2c07081d08022738e370cfa4ab1d919a404b188d30ae89e62c8903222cd64

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