When given a T and the required output and serializer the type class instance will serializers to the XmlOutput using the serializer.
When given a T and the required output and serializer the type class instance will serializers to the XmlOutput using the serializer.
Returns the resulting XmlOutput and an exception if an error occurred.
When provided a given T, returns the DocLike object for it
Type class for choosing a serializing algo