Transformation of structured files
First Claim
Patent Images
1. A method of transforming a structured file, the method comprising:
- loading a transformation instruction in a memory, the transformation instruction defining an event;
parsing the structured file into a parsing event;
comparing the parsing event with the event defined by the transformation instruction;
selecting the transformation instruction associated with the event from the memory based on the parsing event matching the event defined by the transformation instruction;
removing the parsing event from the memory when the parsing event is distinct from the event defined by the transformation instruction; and
executing the transformation instruction to transform the structured file.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of transforming a structured file is provided. A transformation instruction is loaded in a memory and the transformation instruction defines an event. The structured file is parsed into a parsing event and this parsing event is compared with the event defined by a transformation instruction. Based on the parsing event matching the event defined by the transformation instruction, the transformation instruction associated with the event is selected from the memory and the transformation instruction is executed to transform the structured file.
14 Citations
18 Claims
-
1. A method of transforming a structured file, the method comprising:
-
loading a transformation instruction in a memory, the transformation instruction defining an event; parsing the structured file into a parsing event; comparing the parsing event with the event defined by the transformation instruction; selecting the transformation instruction associated with the event from the memory based on the parsing event matching the event defined by the transformation instruction; removing the parsing event from the memory when the parsing event is distinct from the event defined by the transformation instruction; and executing the transformation instruction to transform the structured file. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory, machine-readable medium that stores instructions, which when performed by a machine, cause the machine to perform operations comprising:
-
creating a representation of a plurality of transformation instructions in a volatile memory, each transformation instruction in the plurality of transformation instructions defining a respective event; parsing a source eXtensible Markup Language (XML) file into a plurality of parsing events; comparing a parsing event from the plurality of parsing events with each event defined by the plurality of transformation instructions; if the parsing event matches an event defined by a transformation instruction from the plurality of transformation instructions, selecting the transformation instruction associated with the event from the volatile memory and executing the transformation instruction to transform the source XML file to a target structured file; and if the parsing event is distinct from the plurality of events defined by the plurality of transformation instructions, removing the parsing event from the volatile memory. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A computing device, comprising:
-
at least one processor; and a memory in communication with the at least one processor, the memory being configured to store a parser module and a transformation engine module that are executable by the at least one processor, the transformation engine module being executed by the at least one processor to cause loading a plurality of transformation instructions in the memory, each transformation instruction in the plurality of transformation instructions defining a respective event, the parser module being executed by the at least one processor to cause; parsing a structured file into a plurality of parsing events; intercepting the plurality of the parsing events destined for the transformation engine module; comparing a parsing event in the plurality of parsing events with each event defined by the plurality of transformation instructions; signaling the parsing event to the transformation engine module based on the parsing event matching an event defined in a transformation instruction from the plurality of transformation instructions; and removing the parsing event from the memory based on the parsing event being distinct from a plurality of events defined by the plurality of transformation instructions. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
Specification