The output to the actual archive page works perfectly, i can see all the posts; however when i create the new Domdocument and save it (all within the wp loop) it saves the page (name.xml) but it only shows a single post and not all the posts in that post type loop.