How to serialize an XML node using only XSLT

I’ve been using the classes from Xerces and Xalan for serializing XML documents and nodes to strings. I hated using specific implementations of what I thought should be standard functionality within javax.xml.*, but I couldn’t find an alternative.
Plus, the serialization classes change depending on the version of Xerces… nice. I ran into this piece of […]