XML was designed to carry the data - focus to what data is, and HTML was designed to display data - focus on how data looks.