Encoding of markup language data
First Claim
1. A method for encoding markup-language information for transmission, where said markup-language information comprises a sequence, said sequence comprising at least two ordered elements, said at least two ordered elements comprising at least one data element and at least one tag element associated with each data element, the method comprising:
- selecting a macro corresponding to said sequence, where said macro takes at least one parameter, 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 macro yields said sequence; and
substituting said sequence in said markup-language information with macro data comprising a reference to said macro and to said specific data elements in said markup-language information, said substitution resulting in modified markup-language information.
2 Assignments
0 Petitions
Accused Products
Abstract
Markup-language documents are converted into compacted markup-language form by using a number of parameterized macros. A parameterized macro takes at least one parameter. When compacting markup-language documents, a sequence of elements is replaced by references to a macro and to parameter(s), where the macro, when used with the parameters, yields the sequence of elements. The macros used may either be predetermined, from a static dictionary, may be generated on the fly, or mix of both. The definitions of macros may be included in the compacted markup-language information in order to allow a recipient of the compacted markup-language information to expand the macro reference and parameter(s) into the sequence of elements which had been replaced.
73 Citations
20 Claims
-
1. A method for encoding markup-language information for transmission, where said markup-language information comprises a sequence, said sequence comprising at least two ordered elements, said at least two ordered elements comprising at least one data element and at least one tag element associated with each data element, the method comprising:
-
selecting a macro corresponding to said sequence, where said macro takes at least one parameter, 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 macro yields said sequence; and
substituting said sequence in said markup-language information with macro data comprising a reference to said macro and to said specific data elements in said markup-language information, said substitution resulting in modified markup-language information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for preparing markup-language information for transmission, where said markup-language information comprises an information sequence, said sequence comprising at least two ordered elements, said at least two ordered elements comprising at least one data element and at least one tag element associated with each data element, the system comprising:
-
macro storage for storing a set of macros, where each of said macros takes at least one element as a parameter;
macro selector for selecting a specific macro from said set of macros, where said specific macro, when applied to a parameter set comprising one or more specific parameters, yields said information sequence; and
sequence substituter for substituting said information sequence with macro data comprising a reference to said specific macro and to parameters set, yielding revised markup-language information. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A computer-readable medium having computer-readable instructions executable by a computer, said instructions for performing steps comprising:
-
receiving first information comprising macro data, said macro data comprising a reference to a macro and at least one parameter for said macro;
obtaining a macro definition for said macro;
applying said macro definition to said parameters to yield a result sequence; and
substituting said result sequence for said macro data in said first information to yield second information. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification