1. An information processing apparatus that generates print data for variable-data printing by applying internal data to a variable-data printing document, the information processing apparatus comprising: a markup language data structure display unit that reads markup language data structure information, and displays a structure that markup language data has; a record level element designation acceptance unit that accepts, from a user, designation of a record level element used as a record level that indicates a record unit in the structure of the markup language data displayed by the markup language data structure display unit; and a markup language data structure conversion unit, in order to apply the markup language data based on the markup language data structure information, as the internal data, to the variable-data printing document, to convert the record level element so as to have a structure of the internal data, for each unit based on the record level element designated by the record level element designation acceptance unit.