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-1.0.0.tar.gz
(4.6 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-1.0.0.tar.gz.
File metadata
- Download URL: xmlx-1.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acf827bfa6a3fbccdf6a14ba274538cb06b110186e89d8ef9eaf59539be35576
|
|
| MD5 |
328d1274dffdabb57d565c8dc8087cdb
|
|
| BLAKE2b-256 |
65291ea8b56e2a2ad1419830febb1118dfe886208c12419d82aac1e00f4ae60f
|
File details
Details for the file xmlx-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: xmlx-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10a2bedbbdfebcca40c1edfd18d425c7cd9abf6135ea63960b379ca9a7aee050
|
|
| MD5 |
d0e628889437d2edfcf86af8ea2468ea
|
|
| BLAKE2b-256 |
8ee2ae2ee83186990f6277036f0886c962b43893900275ca2cb4a376e8f28885
|