public void writeXML(DataOutput out, Element element) throws IOException {
        strategy.writeSafeUTF(out, element.asXML());
    }
Writes an XML element to the output.

@param out     the output stream.
@param element the XML element.
@throws IOException if an error occurs.
xmppserver/src/main/java/org/jivesoftware/util/cache/ExternalizableUtil.java