in reply to Writing a file from foreach loop
get_child_node_value provides child nodes from xml file which I am parsing and is passed to an array @child_node_values_fill