9. A non-transitory computer-readable storage medium for use with an electronic device, the computer-readable storage medium having instructions stored thereon which are configured to cause the electronic device to perform at least: providing an XML template defining at least one column of a Gantt chart and including a non-XML code instruction including functionality to add a row; inserting the definition of the at least one column and the non-XML code instruction to add the row into an XML basic layout; calling a method to perform the non-XML code instruction to add the row to the Gantt chart, the row representing a first task to be included in the Gantt chart; generating XML coding for adding the row representing the first task to the Gantt chart based on the received non-XML code instruction and the called method; adding the XML coding for adding the row to a ROW-XML document, the ROW-XML document including control data; and removing the control data from the ROW-XML document to produce an XML output document.
16. The computer-readable storage medium of claim 9 , wherein the instructions are further configured to cause the electronic device to replace at least one variable in the XML basic layout with a customized value.