@classmethod
def xml_item(cls, item):
    """ Represents a single resource (member of a collection) as XML.

        :param data: the data stream to be rendered as xml.

        .. versionadded:: 0.0.3
        """
    xml = cls.xml_root_open(item)
    xml += cls.xml_add_links(item)
    xml += cls.xml_dict(item)
    xml += cls.xml_root_close()
    return xml
