主权项 |
1. A method of extracting content from a database, the database including content instances associated with database fields having a respective database field type, the method including, in a processing system including a memory:
a) receiving instructions to create a file, the file being a mark-up language file; b) determining the file to be created from the instructions; c) determining the content to be extracted from the database by obtaining a stored predetermined report, the stored report being obtained using an indication of the file to be created and the report including query templates and an indication of the content instances to be extracted; d) after determining the content to be extracted, creating a data store within the memory of the processing system, the data store including data store fields corresponding to each database field from which content is to be extracted; e) creating one or more queries for extracting the content using the query templates; f) using each query to extract a respective content instance from the database, with each content instance being stored in a respective store field within the data store; g) after each content instance has been stored in the data store, constructing the file, the file including file fields having a respective file field type; and, h) transferring each content instance to a respective file field of the file. |