added preview options to xml parser