Class DOMUtils


  • public final class DOMUtils
    extends Object
    Utilities for working with W3C DOMs.
    • Method Detail

      • toXML

        public static String toXML​(Node aNode)
                            throws TransformerException
        Returns an XML string representation of the supplied node.
        Parameters:
        aNode - A W3C node
        Returns:
        An XML string representation of the supplied node
        Throws:
        TransformerException - If there is trouble with the XSL transformation