1. A method for constructing a post-transform template for use with a markup language security message in a light weight data model, comprising: a computer receiving an input byte array associated with the markup language security message, wherein the markup language security message includes a security element and encrypted message data; the computer determining whether a template corresponding to all of the markup language security message or a portion of the markup language security message is located in an automaton; responsive to a determination the template corresponding to all of the markup language security message or a portion of the markup language security message is located in the automaton: the computer retrieving a cached lightweight data model corresponding to the markup language security message and a transition sequence that represents all of the markup language security message; the computer parsing the transition sequence using a delta parsing engine, to create a first result; the computer generating the post-transform template using the first result of the delta parsing engine with cached transforms; and the computer storing the post-transform template in the automaton; and responsive to a determination the template corresponding to all of the markup language security message or a portion of the markup language security message is not located in the automaton: the computer calling transformers corresponding to transform information stored in the cached lightweight data model to construct the post-transform template, wherein a first process calling a transform using an expression conforming to Xpath produces a first transform result and a second process calling a canonicalization transform using the first transform result produces the post-transform template; the computer storing the post-transform template in the automaton; the computer populating the post-transform template with corresponding actual variable values of the input byte array; and the computer performing a serialization operation using the post transform template as populated to form a serialized byte array.