Working on dynamic xml like handling