I want to validate xml against xsd file. So I would like to install libxml2 for the same. I have downloaded the zip file and extracted it to "C:\libxml2\libxml2-2.7.8". From here onwards I am not sure how to install the libxml2. Can anyone tell me the easiest way to install the libxml2? Also I have following questions.
- Choosing libxml2 is correct option or not?
- I was trying to use XML::Validator::Schema but couldnt validate the xml against xsd as it was complaining as "elementFormDefault in must be 'unqualified', 'qualified' is not supported." So I left this option.
- Is there any easiest way to validate xml against xsd (complete validation) so that I can avoid the pain of installing libxml2 in all my server machines.
- What is lxml2? Is it also required along with libxml2?