def parse_index_parameter(self, node):
        """
        Parses <IndexParameter>

        @param node: Node containing the <IndexParameter> element
        @type node: xml.etree.Element

        @raise ParseError: Raised when the IndexParameter does not have a name.
        """

        if self.current_component_type == None:
            self.raise_error('IndexParameters can only be defined in ' +
                             'a component type')

        try:
            name = node.lattrib['name']
        except:
            self.raise_error('<IndexParameter> must specify a name')


        index_parameter = IndexParameter(name)

        self.current_component_type.add_index_parameter(index_parameter)