Lines Matching +defs:child +defs:name
48 TidyNode child;
49 for ( child = tidyGetChild(tnod); child; child = tidyGetNext(child) )
51 ctmbstr name = tidyNodeGetName( child );
52 if ( name )
54 /* if it has a name, then it's an HTML tag ... */
56 printf( "%*.*s%s ", indent, indent, "<", name);
58 for ( attr=tidyAttrFirst(child); attr; attr=tidyAttrNext(attr) ) {
66 /* if it doesn't have a name, then it's probably text, cdata, etc... */
69 tidyNodeGetText(doc, child, &buf);
73 dumpNode( doc, child, indent + 4 ); /* recursive */