javax.xml, XPath is not extracted from XML with namespaces

后端 未结 2 687
醉酒成梦
醉酒成梦 2020-12-22 10:52

There is \"original\" XML


    
        

        
2条回答
  •  礼貌的吻别
    2020-12-22 11:39

    You can always do it by ignoring namespace, not the ideal method but works.

     "/*[local-name()='Envelope']/*[local-name()='Header']/*[local-name()='context']/*[local-name()='session']/text()"
    

提交回复
热议问题