C# Linq to XML check if element exists

前端 未结 3 1236
傲寒
傲寒 2020-12-06 04:25

I have an XML document as follows:


 
   \"+447528349828\" 
   \"09/06/24 
          


        
3条回答
  •  星月不相逢
    2020-12-06 05:05

    You could apply an XSL document that translates the data by looping through the SMS nodes and excluding any that has a duplicate Number/text() value

    Check would be something like:

    
    
    
    .....include a copy of node......
    
      
    

提交回复
热议问题