I believe you should ask your question "in reverse mode", for me, it sounds easier this way. What I mean, is "How to display a new page, when I import data?". You should work with subforms, and whenever your imported XML data contains the necesary elements, your subform should appear in new page...