23. A method according to claim 1 , wherein a computer program stored on a computer-readable storage device for being read by a microprocessor, comprising portions of software code when loaded and executed by the microprocessor.
1. A method of accessing a production among a plurality of productions of at least one grammar, comprising the step of using a device for processing a structured electronic XML document to perform the steps of: a) storing productions forming a set of rules for constructing hierarchical data of the structured electronic XML document, said plurality of productions comprising a first group of productions associated with a first group of events and each production of the first group being defined for an event type and contextual information including a name associated with an element in the hierarchical data, and a second group of productions associated with a second group of events distinct from the first group of events, said events describing the hierarchical data of the structured electronic XML document; b) determining whether an event in question is of the first group including determining whether the event in question is defined by a name associated with an element in addition to an event type; c) predicting a production from the first group that is associated with said event in question in the event step that step b) determines that the event in question is of the first group; and d) determining that the event in question is solely defined by an event type, and determining a production from the second group that is associated with the event in question by calculating identification data for said event in question and by recovering a production in a table including productions of the second group from said calculated identification data in the event step that step b) determines that the event in question is not of the first group.