“Expression must evaluate to a node-set.”

前端 未结 2 2070
谎友^
谎友^ 2021-01-04 05:30

I have a problem

My XML File is here:



   
     Tarih
     24.07.2013 18:59:45<         


        
2条回答
  •  佛祖请我去吃肉
    2021-01-04 05:50

    I was getting this error because my Xpath expression was invalid. I was using == for equality instead of a single =. My expression was [SomeNode == 'SomeValue'] but should have been [SomeNode = 'SomeValue'].

提交回复
热议问题