Howdy Here's where I'm at.
$DomDocument = domxml_open_file("myFile.xml"); $RootDomNode = $DomDocument->document_element(); print_r($RootDomNode); // just to test $listItems = $RootDomNode -> child_nodes(); print_r("<br>there are ". count($listItems)." child nodes<br>"); // 35! print_r($listItems); When I run the above, it pulls in my XML file and counts how many childNodes there are, then displays them. What I want to do then is run a for loop on the childNodes, but ... I want to ignore the whitespace nodes. In Flash there's an ignoreWhite function, is there anything similar in PHP? I've poked around a bit, and it doesn't look like it. Thanks for your time. Gabino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php