Here's an example XPath statement which will add to the end of the list (where "listAttachments" is your list variable):
/process_data/listAttachments[number(get-collection-size(/process_data/listAttachments)+1)]
/process_data/listAttachments[number(get-collection-size(/process_data/listAttachments)+1)]