1. A document processing method executed by a system established on one or more computers, the method comprising: acquiring a first structured document, including a plurality of document elements forming a structure, from a folder among a group of folders, the group of folders having a hierarchical structure in a document database; acquiring information of the hierarchical structure of the folders in the document database; creating integrated structure information by merging the structure of the document elements of the first structured document into a position of a folder, in the hierarchical structure formed by the folders, in which the first structured document is stored; adding a uniform resource locator attribute, created on the basis of an identification attribute of each folder or each document element in the integrated structure information, to the folder or the document element; and applying a template to the integrated structure information wherein in the process of applying the template to the integrated structure information, the uniform resource locator attribute added to each folder or document element is assigned to a corresponding variable in the template, and as a file name, the uniform resource locator attribute is attached to a file obtained by applying the template to the folder or the document element in the integrated structure information; wherein in the process of applying the template to the integrated structure information, a parse tree is determined by parsing a structure formed by elements of the template, a folder or a document element in the integrated structure information that matches the element in the template is determined through a matching process of the structure around the current element in the integrated structure information and the parse tree, and information of the matching folder or the matching document element in the integrated structure information is supplied to each element of the template, the template includes a string of one or more template elements and each template element of the string is an element of one of the types of a group including a text element, a variable element, a repetition element, and a selection element.