Patent ID: 7698633

Claim:
A computer-implemented method for processing markup, comprising the steps of: detecting an instance of textual content; detecting a markup element including an open character, a textual name, an optional predicate segment, an optional body, and a close character; detecting said optional predicate segment, including one or more predicates separated by a predicate-separator character, each of said predicates including a textual relation and optional textual complements separated by a complements-separator character; and detecting said optional body, including a body separator character and an optional sequence of instances of textual content and nested markup elements; dispatching model notifications to a model object, said model notifications including model-construct-element, model-accept-root-element, and model-accept-root-text; and dispatching element notifications to a plurality of element objects, said element notifications including accept-attribute, configure, accept-element, accept-text, and commit; contructing an element, one of said element objects; accepting an element, one of said element objects, by said model object; accepting an attribute by one of said element objects; accepting an instance of textual content by one of said element objects; and accepting a nested element, one of said element objects, by one of said element objects; processing said model object and said element objects to produce XML markup.