pass name attribute of page and separator from xml while render template