Get the value between <> with dynamic number inside it

前端 未结 2 684
慢半拍i
慢半拍i 2021-01-15 19:25

I am working on a text summarization method ,for test my method i have a benchmark called doc 2007 ,inside this benchmark i have a lot of xml file ,i should cle

2条回答
  •  粉色の甜心
    2021-01-15 19:59

    XElment.Parse only use in String with single root node. The instance you wrote have two nodes '' without one root node. You can add a root node like below:

    xml = "" + xml + "";
    

提交回复
热议问题