Пакет канонизации и нормализации xml элемента для подписания в СМЭВ 3.
Project description
smev3Transform
transform.Smev3Transform - класс транформации xml элементов согласно методоческим рекомендациям СМЭВ3.
example
xml = """ <elementOne xmlns="http://test/1"> <qwe:elementTwo xmlns:qwe="http://test/2">asd</qwe:elementTwo> </elementOne> """ Smev3Transform(xml).run()
Результат: """<ns1:elementOne xmlns:ns1="http://test/1"><ns2:elementTwo xmlns:ns2="http://test/2"><ns3:elementThree xmlns:ns3="http://test/3">ns1:elementFour z x c </ns1:elementFour>ns2:elementFive w w w </ns2:elementFive></ns3:elementThree><ns4:elementSix xmlns:ns4="http://test/3">eee</ns4:elementSix></ns2:elementTwo></ns1:elementOne>"""
Project details
Release history Release notifications | RSS feed
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
Hashes for smev3Transform-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6141242e591177e4e2747764ffd7bdccfcac450a210e90630e46d21517365a13 |
|
MD5 | 0f394f3cc3303a341a7d51103c34ba7d |
|
BLAKE2b-256 | 904b9fd5d2db3182a62666e4feabe80a446b95fdcb797cf4fbe49f64dd9be2c8 |