XML Validation in Python using XSV

2006-11-22 Thread bmichel
I'd like to use XSV for validating an XML file in Python. I am working on Linux Debian platform. I'm not sure how to install XSV and how to configure it. My goal is to be able to import the XSV library in Python and be able to use it's functions. XSV v2.10 for Debian available here:

Re: XML Validation in Python using XSV

2006-11-22 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: I'd like to use XSV for validating an XML file in Python. I am working on Linux Debian platform. I'm not sure how to install XSV and how to configure it. My goal is to be able to import the XSV library in Python and be able to use it's functions. You can use dpkg to

Re: XML Validation in Python using XSV

2006-11-22 Thread bmichel
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. Michel Stefan Behnel wrote: [EMAIL PROTECTED] wrote: I'd like to use XSV for validating an XML file in Python. I am

Re: XML Validation in Python using XSV

2006-11-22 Thread Stefan Behnel
[EMAIL PROTECTED] 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

Re: XML Validation in Python using XSV

2006-11-22 Thread bmichel
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

Re: XML Validation in Python using XSV

2006-11-22 Thread Stefan Behnel
[EMAIL PROTECTED] wrote: Stefan Behnel wrote: [EMAIL PROTECTED] 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

Re: XML Validation in Python using XSV

2006-11-22 Thread bmichel
This works for me. You were very helpful, thank you! Michel Stefan Behnel wrote: [EMAIL PROTECTED] wrote: Stefan Behnel wrote: [EMAIL PROTECTED] 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