Support for multiple widget XML elements of the same name