Hi, all;

I have a function that can take either an object or an XMLList as an 
argument.  I'm using for each (var prop in argument).  This works great 
when the argument is an object, but when it is an XMLList, I'm having a 
hard time, because it's not taking the node name as prop.  Instead, 
it's setting it as 0, 1, etc.  I'm trying to get around this by using 

if (prop is Number), but this is returning false.  How do you check to 
distinguish a string that contains a number vs. a string that does not 
contain a number?

Thanks;

Amy

Reply via email to