[lxml-dev] wsdl link validation.
Stefan Behnel
stefan_ml at behnel.de
Tue Apr 28 20:11:37 CEST 2009
Hi,
goldgod a wrote:
> 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.
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
More information about the lxml-dev
mailing list