not
, return... nothing
my code:
code:
function OnEvent_Signin(Email)
{
var xml = new ActiveXObject("Microsoft.XMLDOM");
var file = MsgPlus.ScriptFilesPath + '/config.xml';
xml.load(file);
Sec1 = xml.selectSingleNode("Content/Sec/name");
Min1 = xml.selectSingleNode("Content/Min/name");
Hrs1 = xml.selectSingleNode("Content/Hrs/name");
Days = xml.selectSingleNode("Content/Days/name");
Weeks1 = xml.selectSingleNode("Content/Weeks/name");
Debug.Trace("----" + Sec1);
}
debug:
code:
El script está iniciandose
El script está cargado y listo
Función llamada: OnEvent_Signin
----
config.xml
code:
<Content>
<Sec>
<name>0</name>
</Sec>
<Min>
<name>0</name>
</Min>
<Hrs>
<name>0</name>
</Hrs>
<Days>
<name>0</name>
</Days>
<Weeks>
<name>0</name>
</Weeks>
</Content>
some function that reads xml?
i speak spanish.. my English is of 65%