'Export this :class:`XModuleDescriptor` as XML, by setting attributes on the provided
`node`.'

def add_xml_to_node(self, node):

    if (self.export_to_xml != XmlDescriptor.export_to_xml):
        super(XmlParserMixin, self).add_xml_to_node(node)
    else:
        super(XmlDescriptor, self).add_xml_to_node(node)
