- From: Chunbo Shao <cxs0187@omega.uta.edu>
- Date: Sun, 7 Jan 2001 11:46:45 -0600 (CST)
- To: Sami Lempinen <lempinen@iki.fi>
- cc: dsr@w3.org, html-tidy@w3.org
Dear Sir,
Great thanks for your kind help.
When i use TestDom.java, I find the number of the child generated by it is
not correct in html tree. The actual code is
NodeList children = node.getChildNodes();
if ( children != null ) {
int len = children.getLength();
for ( int i = 0; i < len; i++ ) {
print(children.item(i));
Here, it seems that "len" is the number of children, but it is not
correct. Is this problem solved? how?
Thanks a lot.
Best regards,
Major
Received on Sunday, 7 January 2001 12:46:55 UTC