public static void serialize ( Element element , OutputStream os ) { Source source = new DOMSource ( element ) ; serialize ( source , os ) ; }
Write a pretty version of the Element to the OutputStream .