Patent ID: 8065685

Claim:
An apparatus, comprising: a hardware circuit operable to execute a set of instructions to transform a structured document, wherein the set of instructions was created by compiling a set of transformation instructions for the structured documents and the hardware circuit comprises a set of application engine circuits operable to execute the set of instructions; an event classifier circuit operable to: retrieve an instruction from the set of instructions, wherein the instruction comprises an opcode and a first reference to a set of nodes, a first reference to a data structure or a first reference to an instruction table, generate a first event from the instruction, where the first event comprises the instruction and a runtime context for processing the instruction, and place the first event in a queue to be dispatched to one of the set of application engines or a set of hardware accelerators; and an event generator circuit operable to generate a second event from the first event, where the second event comprises the opcode of the instruction, wherein the second event comprises a second reference to one or more of the set of nodes, a second reference to the data structure or a second reference to the instruction table.