3 ms·
I knew there was a code/data divide, but not that there also was one between documents and data.
by mdemare 19y ago
I knew there was a code/data divide, but not that there also was one between documents and data.
- bct 19y agoData isn't really a good word for it (because obviously a document is a kind of data), but I can't think of a better one.
- cstejerean 19y agoA document needs to contain information (most of the time) about the layout of the document. So an HTML page is a document most of the time. The data is the TEXT and most of the HTML is there simply to tell the browser how to render the data. I think the argument above was that XML is great for creating document formats where as JSON or S-Expressions are great for sending data around.