Patent ID: 7739586

Claim:
A method for encoding markup-language information comprising a data element for transmission from a sender, where said markup-language information comprises an information sequence, said information sequence comprising at least two ordered elements, said at least two ordered elements comprising the at least one data element and at least one tag element associated with each data element, the method comprising: selecting, from a set of macros, a first macro corresponding to said information sequence, where said first macro takes at least one parameter of a first parameter set, and where using at least one specific data element from among said at least one data elements for each of said at least one parameter to said first macro yields said information sequence; substituting said information sequence in said markup-language information with macro data comprising a reference to said first macro and to said specific data elements in said markup-language information, said substitution resulting in modified markup-language information, where said modified markup-language information comprises a second sequence comprising at least two second sequence elements, where each of said second sequence elements comprise a reference to a macro, a data element, or a tag element associated with a data element; selecting a second macro from said set of macros where said second macro, when applied to a second parameter set comprising one or more specific parameters, yields said second sequence; substituting said second sequence in said modified markup-language information with second macro data comprising a reference to said second macro and said second parameter set; and transmitting the modified markup-language information to a recipient.