[lxml-dev] wsdl link validation.

Hi, I am using the lxml. I have one wsdl(on the fly creation using soaplib). The wsdl contains three XSD schema.I am passing all XSD schema in one file as request. I want to validate the each XSD schema one by one. I need your help to implement this. I gone through the tutorial and found XSD schema validation can do but my wsdl contains XSD schema and wsdl messages also. Please advice me. -- Thanks & Regards, Goldgod

Hi, goldgod a wrote:
Well, you could search the three schemas by iterating over the schema root elements using .iter("{schema-namespace}tag-name"), then create an XMLSchema() instance from each of them, and use the three validators to validate your document. Does that help? Stefan

Hi, goldgod a wrote:
Well, you could search the three schemas by iterating over the schema root elements using .iter("{schema-namespace}tag-name"), then create an XMLSchema() instance from each of them, and use the three validators to validate your document. Does that help? Stefan
participants (2)
-
goldgod a
-
Stefan Behnel