Skip to main content

Пакет канонизации и нормализации xml элемента для подписания в СМЭВ 3.

Project description

smev3Transform

transform.Smev3Transform - класс транформации xml элементов согласно методоческим рекомендациям СМЭВ3.

example

xml = """ <qwe:elementTwo xmlns:qwe="http://test/2">asd</qwe:elementTwo> """ 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.

Source Distribution

smev3Transform-1.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

smev3Transform-1.0-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page