Hi, users
I have a problem with this method, also when I compile the Program,
there is no matter and when I run it there is also no matter, but it
not Print out Element Names.
I do not why? I thinks, this is correct
public void traverse(Node node){
nit type = node.getNodeType();
if(type == Node.ELEMENT_NODE){
System.out.println(node.getNodeName());
novelist children = node.getChildNodes();
if(children != null){
forwent i = 0; i < children.getLength(); i++){
traverse(children.item(i));
}
}
}
}
if somebody can help me? I will be very happy
Thanes .....
Serge
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]