Based on reference information of a structured-document application program, structure information and contents of a structured document to be delivered are specified separately. Based on the specification, the structure information and the contents are obtained from a database which stores the structured document, to generate the structured document to be delivered. The generated structured document is delivered to the structured-document application program.