Using XML annotation LSP for defining advanced UI features