TBGXMLUtils
This package makes it easy to construct xml files.
Examples
e = add(‘TBGRoot’)
i = add(‘LevelOne’, e, attrs={‘type’:’default’, ‘class’:’toplevel’}) add(‘ID’, i, txt=’1234’) add(‘FirstName’, i, text=’Jack’) add(‘LastName’, i, text=’Smith’)
i = add(‘LevelTwo’, e, attrs={‘type’:’default’, ‘class’:’secondlevel’}) add(‘ID’, i, txt=’12345’) add(‘Address’, i, text=’1 Main Street’) add(‘City’, i, text=’New York’)
print pretty(xml=etree2xml(e))
Release files for TBGXMLUtils 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| TBGXMLUtils-0.1.3.tar.gz | 2.5 kB | Details |
Release files / TBGXMLUtils-0.1.3.tar.gz
| Download URL | TBGXMLUtils-0.1.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03df3dac8c929a579812071f0c72af0272f78b94a68d05bfa7fd95e28190fbbf
|
|
BLAKE2b-256 checksum How to use checksums |
0a594d31b774c655c2ddea6f4db611a985c2e66b4684f9afe34f73d2d1d00905
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |