> 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
>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)
Hello,
Via Xpath, I want to access nodes which have a namespace prefix. THe
document at hand is an Xsl-FO document. I tried the following:
from xml.dom import minidom
from xml.xpath import Evaluate
from xml import sax
parser = sax.make_parser()
parser.setFeature(sax.handler.feature_namespaces,1)
pa