Added process function to manipulate the XML on display