child nodes
cd=(
y->childNodes); for (
i=0;
i <
cd->length;
i++) {
// echo("trying");
//Process only element nodes
if (
cd->item(
i)->nodeType==1) { echo("
<b>
"); echo(strtolower(
cd->item(
i)->nodeName)); echo("
</b>
"); echo(": "); echo(
cd->item(
i)->childNodes->item(0)->nodeValue); echo("
<br />
"); } } ?>