Skip to main content

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

Project description


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


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


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 py3

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