it is 'Date' but even if it wasn't, for some reason it still doesnt do a print or echo... wierd...
$items = $dom->documentElement->getElementsByTagName('Item');
foreach ($items as $item) {
print $item ->firstChild->textContent . '<br />';
if($item->firstChild -> textContent == '20051013')
{
$item->parentNode->removeChild($item);
}
}
at first i thought i might be encoding but then, why would it print if i take the firstChild away... i gonna keep working it...
thx
so if i take away the 'firstChild' reference then i get this:
20051019 Massive stars can grow near black holes
20050808 Researchers Study Changes in Hurricanes
if i try to use firstChild i get nothing...
and if i print using firstChild without the 'textContent' :
then i get the dom id's
Object id #6
Object id #4
snx