Using phage display technology in combination with a chemoenzymatic method to anchor xyloglucan to solid supports, the selection of xyloglucan-binding modules with no detectable residual wild-type xylan and beta-glucan-binding ability was achieved.