Homogeneous acylation of xylan with 3,5-dinitrobenzoyl in ionic liquid and the adsorption property.