An information processing apparatus executing an operating system for processing print setting information described in extensible Markup Language, the print setting information comprising a standard area defined by the OS and an extended area uniquely defined by the printer driver, the information processing apparatus comprising: a receiving means for receiving the print setting information generated by the operating system using a model-dependent file in which, on a text basis, a plurality of functions of a printer as a print target is defined in the extended area, wherein the print setting information includes first information indicating whether a first function is enabled between a first start tag and a first end tag, and second information related to the function between a second start tag and a second end tag, and wherein the print setting information has been arranged in a first arrangement in which the second start tag, the second end tag, and the second information are not between the first start tag and the first end tag; a search means for performing a search of a plurality of mutually related functions in the plurality of functions defined in the extended area of the print setting information generated by using the model-dependent file and detecting related information, wherein, by the search, the first information and the second information are detected as the related information; and an edit means for performing, in the XML indicating the print setting information, in a case where the plurality of mutually related functions exists in the extended area of the print setting information and the related information is detected, an edit process for reducing a number of functions enumerated in the XML indicating the print setting information by rearranging the print setting information to a second arrangement different to the first arrangement, wherein in the second arrangement the second start tag, the second end tag, and the second information are between the first start tag and the first end tag so that the operating system's processing corresponding to one of the plurality of mutually related functions in the extended area of the print setting information is reduced. a receiving means for receiving the print setting information generated by the operating system using a model-dependent file in which, on a text basis, a plurality of functions of a printer as a print target is defined in the extended area, wherein the print setting information includes first information indicating whether a first function is enabled between a first start tag and a first end tag, and second information related to the function between a second start tag and a second end tag, and wherein the print setting information has been arranged in a first arrangement in which the second start tag, the second end tag, and the second information are not between the first start tag and the first end tag; a search means for performing a search of a plurality of mutually related functions in the plurality of functions defined in the extended area of the print setting information generated by using the model-dependent file and detecting related information, wherein, by the search, the first information and the second information are detected as the related information; and an edit means for performing, in the XML indicating the print setting information, in a case where the plurality of mutually related functions exists in the extended area of the print setting information and the related information is detected, an edit process for reducing a number of functions enumerated in the XML indicating the print setting information by rearranging the print setting information to a second arrangement different to the first arrangement, wherein in the second arrangement the second start tag, the second end tag, and the second information are between the first start tag and the first end tag so that the operating system's processing corresponding to one of the plurality of mutually related functions in the extended area of the print setting information is reduced.