Error on xpath-ing a DOM with namespaces

Piet pit.grinja at gmx.de
Wed Mar 9 15:23:14 EST 2005


> NSS = {u'wsdl': u'http://schemas.xmlsoap.org/wsdl/'}
> #""processorNss" = "namespace bindings to be used by the processor"
> ctx = Context(wsdl_doc, processorNss=NSS)
> Evaluate(u'wsdl:description/wsdl:documentation', context=ctx)
> """
> 
> Should give you a start.
Thanks a lot. I found a solution for my problem and lots of food for
thought for improving my XML handling in general.
Best regards
Piet



More information about the Python-list mailing list