Can any1 find the error in this? 
code:
    var xml = new ActiveXObject("Microsoft.XMLDOM");
    var file = MsgPlus.ScriptFilesPath + '\\test.xml';
    Debug.Trace(file);
    xml.load(file);
    Debug.Trace(xml.documentElement.selectSingleNode("Profiles/Profile").text);
The XML looks like this: 
code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<Profiles>
    <Profile Email="aleksander_heintz@hotmail.com">
        <SpecialUser Email="iddy_58@hotmail.com" Name="Ida" />
    </Profile>
</Profiles>
I get the error 
code:
Feil: Krever objekt.
       Linje: 28. Kode: -2146827864. (translated: Error: Demands an object)