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 constructed to read markup language data structure information, and to display a structure of the markup language data; a record level candidate element display unit constructed to emphatically display a repeatable element as a candidate of a record level element used as a record level that indicates a record unit by the markup language data structure display unit; a record level element designation acceptance unit constructed to accept, from a user, a designation of a record level element from a plurality of candidates displayed emphatically by the record level candidate element display unit; a primary key designation acceptance unit constructed to accept a designation of a primary key for each unit based on the record level element; a field reference name acceptance unit constructed to accept a designation of a field reference name for each unit based on the record level element; a memory for storing computer-executable process steps; at least one processor for executing the computer-executable process steps stored in the memory, such that when the computer-executable process steps are executed the at least one processor is operable to function as: a variable portion association unit constructed to associate a field reference name designated by the field reference name acceptance unit with a variable portion within a document; a markup language data structure conversion unit constructed to convert the record level element so as to have a structure of the internal data; and a print data generation unit constructed to generate print data for variable-data print, using the data structure converted by the markup language data structure conversion unit, by applying data for each unit based on the record level element to the variable portion within a document associated by the variable portion association unit, wherein the markup language data structure conversion unit converts the record level element for each unit based on the record level element designated by the record level element designation acceptance unit in order to perform a generation in accordance with a user's intent by the variable data generation unit.