Rules for representing document by data structures for the purpose of exchange between computers or users.