Package info.freelibrary.util
Class DOMUtils
- java.lang.Object
-
- info.freelibrary.util.DOMUtils
-
public final class DOMUtils extends Object
Utilities for working with W3C DOMs.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toXML(Node aNode)
Returns an XML string representation of the supplied node.
-
-
-
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
-
-