web application: parse and creat graph from existing xml document