[EMAIL PROTECTED] wrote:

Try getElementsByTagName("*")->getLength() on whatever node you want to cound the children for.

if you entered your comments properly, then they should not be counted.

I have not encountered a scenario where comment nodes get included in the list of child nodes...

-Vinayak

Gosh, it's that simple... I had complicated myself counting each child... ;-(

Thanks
Axelle.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to