The present invention discloses a user personalized template implementation method and apparatus. The method comprises: acquiring an
input control selection instruction submitted by a user, wherein an
input control comprises one or more items among a
text box, a text field, a drop-down box, a radio box, a check box and a frame extraction box; receiving configuration information submitted by the user based on the
input control, and generating an indexing template, wherein the configuration information comprises one or more items among a
display name, an option name and an option value, and the indexing template comprises one or more input controls selected by the user and corresponding configuration information; and calling the indexing template, selecting a desired node according to the input control in the indexing template, and editing the node according to a user instruction, so as to generate an
XML file containing the node. According to the method disclosed by the present invention, the user does not need to perform repeated
code writing, and the
XML file is generated by calling the template, so that the manual
workload is greatly reduced.