Updated sample.xml to support entry-points
Updated XMLParser to support entry points