addChildren function

Add child nodes to an XML node