BS-2007, migration of transition: parse the xml to retrieve the target element