Removed new XML helper method
diff --git a/org.eclipse.epf.common/src/org/eclipse/epf/common/utils/XMLUtil.java b/org.eclipse.epf.common/src/org/eclipse/epf/common/utils/XMLUtil.java index 982dce1..2f28753 100644 --- a/org.eclipse.epf.common/src/org/eclipse/epf/common/utils/XMLUtil.java +++ b/org.eclipse.epf.common/src/org/eclipse/epf/common/utils/XMLUtil.java
@@ -390,31 +390,6 @@ out.close(); } - public static void writeNode(Node node, OutputStream os) - throws IOException - { - TransformerFactory tf = TransformerFactory.newInstance(); - Transformer t = null; - try { - t = tf.newTransformer(); - t.setOutputProperty(OutputKeys.OMIT_XML_DECLARATION, "yes"); //$NON-NLS-1$ - t.setOutputProperty(OutputKeys.INDENT, "yes"); //$NON-NLS-1$ - t.setOutputProperty(OutputKeys.METHOD, "xml"); //$NON-NLS-1$ - t.setOutputProperty(OutputKeys.ENCODING, "UTF-8"); //$NON-NLS-1$ - } catch (TransformerConfigurationException tce) { - assert(false); - } - DOMSource doms = new DOMSource(node); - StreamResult sr = new StreamResult(os); - try { - t.transform(doms, sr); - } catch (TransformerException te) { - IOException ioe = new IOException(); - ioe.initCause(te); - throw ioe; - } - } - /** * Writes the given DOM tree node to the given output stream. *