18. The non-transitory computer readable storage medium of claim 17 , wherein the program instructions being configured upon execution to cause the processor to generate the XML document for each record comprising data derived from the data of the corresponding record by executing the instructions of the template during an execution stage for each record of the set of records comprises: the program instructions being configured upon execution to cause the processor to execute at least one instruction that creates an attribute.
17. The non-transitory computer readable storage medium of claim 16 , wherein the program instructions being configured upon execution to cause the processor to generate the XML document for each record comprising data derived from the data of the corresponding record by executing the instructions of the template during an execution stage for each record of the set of records comprises: the program instructions being configured upon execution to cause the processor to execute at least one instruction that creates at least one other element.