Skip to main content

Functions for generating XML/HTML

Project description


xmlist is a module for generating XML, which it represents by lists and tuples.

using xmlist

xml = xmlist.serialize(['html',
    ('xmlns', ''),
    ['head', ['title', 'Hello, world!']],
        ['h1', 'Hello, world!'],
        ['p', 'xmlist is a module for generating XML']]])

hacking on xmlist

[assuming the setup_requires and test_requires are already installed with pip --user]

virtualenv --python=python2.7 --system-site-packages env27 ;
env27/bin/pip2 install --editable .

testing xmlist

env27/bin/python -B -q test

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 xmlist, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size xmlist-1.0-py2.py3-none-any.whl (8.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size xmlist-1.0.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

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