public static String node2String ( final Node node ) throws UnsupportedEncodingException { return node2String ( node , true , Constants . DEFAULT_XML_CHARSET ) ; }
Converts XML node in pretty mode using UTF - 8 encoding to string .