1. A data processing system, comprising: a token processor configured to receive data comprising a structured electronic document in serialized format and to identify one or more entities in the data; a name recognition engine configured to recognize one or more names of elements of a structured electronic document and to recognize one or more names of attributes of the elements; a finite state automaton comprising states and transitions representing structural relationships among elements and attributes of one or more structured path expressions and state look-ahead logic that is configured to output a final state when one or more of the entities matches one or more of the structured path expressions; logic encoded in one or more computer-readable storage media for execution and when executed by one or more processors operable to: receive one or more messages comprising the structured electronic document in serialized format, provide the messages to the token processor, and receive one or more entities that have been identified in the one or more messages; provide the one or more entities to the name recognition engine to result in identifying one or more identified entities; provide the identified entities to the automaton and operating the automaton in one or more state transitions resulting in reaching the final state of the automaton; output the final state of the automaton.