Multidimensional solitons in a low-dimensional periodic potential