Extract xml data from configuration server events

Hi everyone,
could you please suggest a way to extract the xml document from a EventObjectCreated message like the one bellow, using getMessageAttribute(“ConfObject”) always returns null document, thanks for any help !
‘EventObjectCreated’ (74) attributes:
IATRCFG_OBJECTTYPE [int] = 25
IATRCFG_REQUESTID [int] = 0
SATRCFG_OBJECT [str] = <?xml version="1.0" encoding="UTF-8" standalone="no"?>
IATRCFG_FOLDERDBID [int] = 215
IATRCFG_HISTORYLOG [bool] = false
IATRCFG_TIMESTAMP [int] = 1400434335
IATRCFG_UNSOLEVENTNUM [int] = 17250

Hi Wafa.
Try with this:

XDocument resultDocument = (XDocument)ObjectCreated.ConfObject;
String xml = extractXML(resultDocument);
.
.
.

protected static string extractXML(XDocument document)
{
StringBuilder xmlAsText = new StringBuilder();
StringWriter stringWriter = new StringWriter(xmlAsText);
XmlTextWriter xmlTextWriter = new XmlTextWriter(stringWriter);
xmlTextWriter.Formatting = Formatting.Indented;

        document.Save(xmlTextWriter);
        String xml = xmlAsText.ToString();
        return xml;
    }