Add documentation for the functorial interface of tyxml.