我有一个XElement
这样的内容。
<Response xmlns="someurl" xmlnsLi="thew3url">
<ErrorCode></ErrorCode>
<Status>Success</Status>
<Result>
<Manufacturer>
<ManufacturerID>46</ManufacturerID>
<ManufacturerName>APPLE</ManufacturerName>
</Manufacturer>
//More Manufacturer Elements like above here
</Result>
</Response>
我将如何读取Status
元素内部的值?
我试过 XElement stats = myXel.Descendants("Status").SingleOrDefault();
但那是返回null。