Validating XML in Python without dependencies other than python

I am writing a small Python application for distribution. I need to enable simple XML validation (this is a debugging tool), but I want to avoid any dependencies on compiled C libraries such as lxml or pyxml, as they will make the resulting application much more difficult to distribute. I can not find anything like the score - for DTD, Relax NG or XML Schema. Any suggestions?

+3
source share
4 answers

Do you mean something like MiniXsv ? I never used it, but from the website we can read that

minixsv - XML- , Python ( , Python 2.4 ).

.

, ElementTree , 100%.

+4

- ?

REST SOAP, HTML-, , . (httplib , , mechanize, ).

+1

, , Fourthought 4Suite (community edition) Python.

: Python, , , .

+1

beautifulsoup - Python ( .py ), , , XML .

http://www.crummy.com/software/BeautifulSoup/

0
source

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


All Articles