simonchristieis
Programmer
I have created an array from the results returned by a selectNodes statement.
This information is used to create a menu.
Everything is working ok except for the line detecting whether there is anymore information to display.
This line is
Code:
while(!tXml[x].item(ii)){
x--;ii = tXml[0][x];
}
where
tXml[x] is the nodes collection object
and
.item(ii) is a node
The code appears to be failing because there is no node at the location (tXml[x].item(ii)).
Is there any other way that I can detect whether the location is a node / object ?
Any ideas anyone ?
Simon