Skip to main content

A simple and compact XML parser.

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>')


? 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.

Files for xmlx, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size xmlx-2.0.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View
Filename, size xmlx-2.0.0-py2.py3-none-any.whl (5.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page