1. A method of parsing a markup language document comprising syntactic elements, said method comprising, for one of said syntactic elements, the steps of: identifying a type of the element; processing the element by determining a hash representation thereof if said type is a first type; and augmenting an at least partial structural representation of the document using the hash representation if said type is said first type.