Patent ID: 7996364

Claim:
An information processing apparatus, which generates schema data that defines a structure including elements and attributes described in structured document data, comprising: input unit for inputting schema data of a first version, and schema data of a second version newer than the first version; detection unit for detecting an element of a part different between the schema data of the first version and the schema data of the second version, and a difference type; generation unit for generating single schema data by adding the detected element and the difference type to the schema data of the first version together with information indicating the second version; storage unit that stores the generated single schema data; and control unit for generating single schema data by recursively processing, in ascending order, from schema data corresponding to a first version to schema data corresponding to a latest version by said input unit, said detection unit, and said generation unit for N schema data (N is a positive integer not less than 3) corresponding to N types of versions wherein the single schema data is generated in XML.