How can I serialize and de-serialize an XML Node? For example to transfer a Node object over TCP?
Davanum Srinivas DOM API is not really geared towards serialization/de-serialization. Try JDOM from http://www.jdom.org/. It has adapters to work with existing DOM documents. A lot of classes implement java.io.Serializable and java.lang.Cloneable interfaces to make coding easier.