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 * is its text (JS outerHTML).
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
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-2.0.0.tar.gz.
File metadata
- Download URL: xmlx-2.0.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb5a2184e36a52cfbb1aba6b80b481c9f70c1629691e1fa5e7debab2f9a28fd4
|
|
| MD5 |
daac694a00026d412d3258cf3e1a00da
|
|
| BLAKE2b-256 |
f0ca39b77c155682f4970722a2863f43dbe5f1892f10d4b8a06420b068fcc2bb
|
File details
Details for the file xmlx-2.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: xmlx-2.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6fac44dc2efca0f799981c637410976f744b8aec17ba644cb30fb9b5557399
|
|
| MD5 |
6b99e4d99e72c5c1930857bd7cdb4ba9
|
|
| BLAKE2b-256 |
56d11ec7ca6527c5a268d42c08db3e97d511c368dc6c85c7c5cf4cc0a3b5cc08
|