[ndproj] Add an XML builder

Change-Id: Ia683619df4151dca4295f2bf0f30d72dd47b79d0