can anyone tell me why, given the following XDocument contents
<AddOrderResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/appulsive.Intertek.LIMSService">, Fehler in der Belegerfassung Verkauf
Die Kontokorrentdaten konnten nicht gelesen werden.
(Exception of type 'Sagede.OfficeLine.Wawi.BelegEngine.RecordsetEmptyException' was thrown.)</ErrorMessage>
</AddOrderResult>
and the following C# code
var resultElement =xmlResponse.Element("AddOrderResult");
var errorMessage = resultElement.Element("ErrorMessage");
where xmlResponse is the XDocument object in question, resultElement is a valid XElement but errorMessage is always null? Is it, for example, something to do with the ErrorMessage namespace?
TIA.