Does Python 2.5 include a package for converting an XML document?

In my Python application, I have an XML document that I would like to convert using my XSL file. I am currently using xml.etree to create an XML document, but I have not found anything in Python 2.5 that will allow me to convert an XML document.

I already found one library ( libxslt ) that can perform the conversion, but I decided that Python would have its own library that achieves the desired result.

Any thoughts?

+3
source share
2 answers

Python 2.5 does not have an XSLT processor.

+4
source

libxml2 libxslt, lxml. , libxml2 libxslt, API ElementTree.

libxml2/libxslt , Python, lxml pythonic, , , .

+5

Source: https://habr.com/ru/post/1699078/


All Articles