'Parse the MusicXML <time> element.'

def _parse(self):

    if ((len(self.xml_time.findall('beats')) > 1) or (len(self.xml_time.findall('beat-type')) > 1)):
        raise AlternatingTimeSignatureException('Alternating    Time    Signature')
    self.numerator = int(self.xml_time.find('beats').text)
    self.denominator = int(self.xml_time.find('beat-type').text)
    self.time_position = self.state.time_position
