Xpath to the tag inside CDATA

前端 未结 2 1156
名媛妹妹
名媛妹妹 2020-12-22 09:27

I want to find the xpath to a tag which is inside a CDATA. Below the xml fragment.


 
  
  

        
2条回答
  •  萌比男神i
    2020-12-22 10:15

    CDATA contains arbitrary character data. In contradiction to PCDATA (acronym of parsed character data) it is not parsed, so there is no xpath to "elements" inside of it.

提交回复
热议问题