question: public static String serialise ( Node node ) { try { DOMImplementationRegistry registry = DOMImplementationRegistry . newInstance ( ) ; DOMImplementationLS lsImpl = ( DOMImplementationLS ) registry . getDOMImplementation ( "LS" ) ; LSSerializer serializer = lsImpl . createLSSerializer ( ) ; return serializer . writeToString ( node ) ; } catch ( Exception e ) { log . fine ( "could not serialise XML node: " + e ) ; return "" ; } }
target:  Serialises the XML node into a string.