Error on xpath-ing a DOM with namespaces
Diez B. Roggisch
deetsNOSPAM at web.de
Sun Mar 6 13:09:42 EST 2005
>From http://uche.ogbuji.net/tech/akara/nodes/2003-01-01/basic-xpath
"""
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.
--
Regards,
Diez B. Roggisch
More information about the Python-list
mailing list