Algebraic Representation of Correlation Functions in Integrable Spin Chains