Abstract:
The invention relates to a method of compressing a structured document having a tree-like structure comprising elements nested in each other, each element comprising attributes and a value field which may comprise other elements, the method comprising defining a simplified type comprising only a part of attributes of an original type, and for each element of the original type, replacing the type identifier in the element with an identifier of the simplified type when the element differs from a previous element having the original type only in the attribute values or presences of the simplified type attributes.