1. A method of coding a structured document comprising at least one value to be coded, using at least one indexing dictionary comprising entries, the method comprising the following steps: identifying at least one entry value of the dictionary linked to the value to be coded by matching between at least part of one of these two values and a subpart of the other value; coding said value to be coded by reference, according to the said matching, to at least the identified entry of the dictionary.