Check if XElement has a specific attribute

后端 未结 0 1832
臣服心动
臣服心动 2020-12-12 11:25

I want to check if an XElement object contains a specific attribute as some lines of the XML file have different attributes. But XElement does not have a HasAttribute(

相关标签:
回答
  • 消灭零回复
提交回复
热议问题