I don't know about the images and the pages, but http://www.adobe.com/support/downloads/detail.jsp?ftpID=1209 seems to do what you want with text.
http://www.softpedia.com/get/Office-tools/Other-Office-Tools/PDF-to-XML.shtml lets you do it page by page. That's a lot of work if your document has 100 pages. But it's better than nothing.
I want to know is there any software that extract pdf to xml which makes one xml per one pdf page.it should also extract images and put images path to xml tag..
any help is appreciated ..