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.
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.3.tar.gz
(2.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xmlx-0.0.3.tar.gz.
File metadata
- Download URL: xmlx-0.0.3.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd131ca2e58768f35e39b6b5f9039375c7a5e68b3acf05eca189fa5814f9fdf3
|
|
| MD5 |
0e06dddaaadd9106ba8b945e670a8871
|
|
| BLAKE2b-256 |
dcfcb7c5cee60e91a9524b07fca34bdd9fa43f9ff604107b3bda4a5505343484
|
File details
Details for the file xmlx-0.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: xmlx-0.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f53d2ac87c83ae63e2a9e38f1b298b928e0d9b4223664f67195e80b3ddb54d7a
|
|
| MD5 |
705d68dfc7be9a9b913d4f9d5a339f10
|
|
| BLAKE2b-256 |
8ce8e8b605348d15fcd5756a97d731fdd2f43a90363a32ee9f3e8521f34a67f6
|