Skip to main content

Пакет канонизации и нормализации 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

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for smev3Transform, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size smev3Transform-1.0-py3-none-any.whl (6.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size smev3Transform-1.0.tar.gz (4.5 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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page