> if (isdefined("objXML.properties.XmlChildren[i].handler")

can also be - 

tempVar = objXML.properties.XmlChildren[i];
if isDefined("tempVar.handler");

if you don't know if something is actually THERE, (assuming you have pulled this 
from well formed XML, and not built the structure yourself) you can check the 
length of the array XMLChildren, and get the length.  

if(i > ArrayLen(objXML.properties.XmlChildren))
{
  ...
}

Now - if you have a sparse array, then you MUST try and catch, you have no other 
way, as the length of the array doesn't denote if all the values are not null.

Mark

-----------------------------------
[EMAIL PROTECTED]       
ICQ: 3094740
Safe From Bees
[www.safefrombees.com]

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to