code: def parse_attachments(self, node):
          
  
          if 'name' in node.lattrib:
              name = node.lattrib['name']
          else:
              self.raise_error('<Attachments> must specify a name.')
  
          if 'type' in node.lattrib:
              type_ = node.lattrib['type']
          else:
              self.raise_error("Attachment '{0}' must specify a type.",
                               name)
  
          description = node.lattrib.get('description', '')
          self.current_component_type.add_attachments(Attachments(name, type_, description))
docs: Parses <Attachments>
  
          @param node: Node containing the <Attachments> element
          @type node: xml.etree.Element