Patent ID: 8185565

Claim:
An information processing apparatus including at least one processor and memory communicatively coupled via a bus for combining a plurality of binary XML documents, comprising: an input unit configured to input the plurality of binary XML documents, wherein each of the plurality of binary XML documents includes correspondence information showing a correspondence between vocabulary information constituting the binary XML document and token information, and encoded information in which the vocabulary information included in the binary XML document has been replaced with corresponding token information based on the correspondence information; a first determination unit adapted to determine whether first correspondence information included in a first binary XML document and second correspondence information included in a second binary XML document includes common vocabulary information; a second determination unit adapted to determine whether the two token information for the common vocabulary information coincide with each other, if the first determination unit determines that the first correspondence information and the second correspondence information includes common vocabulary information; a replacing unit configured to replace encoded information of the second binary XML document using the token information included in the first correspondence information, if the second determination unit determines that the two token information do not coincide with each other; a deletion unit adapted to delete the token information and the vocabulary information corresponding to the token information which are included in the second correspondence information; and a combining unit configured to generate combined information by combining the correspondence information in which the common vocabulary information has been replaced and the encoded information, of each of the plurality of binary XML documents.