Here you can find the source of printNode(Node node)
public static void printNode(Node node)
//package com.java2s; //License from project: LGPL import org.w3c.dom.Node; public class Main { public static void printNode(Node node) { System.out.println(node.getNodeValue()); }/*from w w w . j a v a 2 s.co m*/ }