NAME
MIDI::XML::Parser - SAX Parser for creating MidiFile objects from XML.
SYNOPSIS
use MIDI::XML::Parser;
$MidiFile = MIDI::XML::Parser->parse_MidiXML($file);
DESCRIPTION
MIDI::XML::Parser is a class for parsing a file in MidiXML format and storing it as standard MIDI file. Additionally, by subclassing other MIDI-XML classes, it may be converted to another XML format.
EXPORT
None by default.
METHODS AND ATTRIBUTES
- parse_MidiXML($file);
-
Parses a MidiXML file creating and returning a MidiFile object.
- start_elem($expat, $name, %attr);
-
Handler for XML::Parser start element events.
- char_data($expat, $name, $cdata);
-
Handler for XML::Parser character data events.
- end_elem($expat, $name);
-
Handler for XML::Parser end element events.
AUTHOR
Brian M. Ames, <bmames@apk.net>