Re: Error on xpath-ing a DOM with namespaces

2005-03-09 Thread Piet
> 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 soluti

Re: Error on xpath-ing a DOM with namespaces

2005-03-06 Thread Diez B. Roggisch
>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)