3. The method according to claim 1 wherein creating child elements and text nodes using the task root element and the task template root element comprises: looping through all the child nodes of the task template root element; creating a child element into the task root element using the task root element and a task template child element for each child element of the task template root element; obtaining a list of text strings from the template string specified as a value of a text child node for each text child node in the task template root element; and creating text child nodes using the task root element and the obtained list of text strings for each text child node in the task template root element.
3. The method according to claim 1 wherein creating child elements and text nodes using the task root element and the task template root element comprises: looping through all the child nodes of the task template root element; creating a child element into the task root element using the task root element and a task template child element for each child element of the task template root element; obtaining a list of text strings from the template string specified as a value of a text child node for each text child node in the task template root element; and creating text child nodes using the task root element and the obtained list of text strings for each text child node in the task template root element. 8. The method according to claim 3 wherein creating text child nodes using the task root element and a list of text strings comprises: if the list contains only a single string, creating a text child node into the task root element with the single string as the value; and if the list contains multiple strings, said method includes: removing the task root element from its parent element; looping through all strings in the list; and creating a new child into the parent task element where the new child is the same as the removed task root element plus a new child text node with a string as its value for each string in the list.