XML Validation in Python using XSV

bmichel at gmail.com bmichel at gmail.com
Wed Nov 22 16:05:25 CET 2006


I've read a bit about lxml, didn't found anything related to validating
XML schema...

Maybe you can give more details on how to install lxml and use it in
Python to validate XML files against an XML Schema
I'm going to ask the server administrator to install lxml, so I can't
play around a lot with the system trying stuff.

It would be nice if you can tell me:
- What files to download, where to download them from
- How to install it and configure it
- How to import the functions in Python

Thanks again
Michel

Stefan Behnel wrote:
> > bmichel at gmail.com wrote:
> > Stefan Behnel wrote:
> >> BTW: any reason you need to use XSV? There are some other libraries out there
> >> that can validate XML based on XML Schema and RelaxNG, e.g. lxml. They are
> >> much more powerful than XSV.
> >
> > No particular reason for XSV
> > I just want to validate XML files against an XML schema through Python.
> > If you can suggest any other package for debian, I'll be glad to try
> > it.
>
> Well, as I said:
>
> http://packages.debian.org/unstable/python/python-lxml
> http://codespeak.net/lxml/
> 
> Just try "apg-get install python-lxml".
> 
> Stefan




More information about the Python-list mailing list