restructured xml and added selector based text selection