摘要 |
A computer-assisted method of reducing the size of a Macro Enabled Markup Language document such as XML is provided in which a segment of text is identified (112) within the document that is used repeatedly. This segment of text can be reduced by creation of a macro such as an XML Entity declaration. Thus, an Entity declaration is created (116) establishing a shorthand name for the segment of text. The Macro Enabled Markup Language Entity declaration is inserted (120) into the document at a location preceding the first use of the segment of text, and the shorthand name is substituted (124) throughout the document in place of the segment of text.
|