1. A processing module, said processing module being configured for processing of XML data by use of a finite state automaton, wherein: said XML data is based on a predetermined XML schema; said finite state automaton comprises states and transitions, said states and transitions being arranged based on said predetermined XML schema; and at least one transition of said transitions, which refers to an element or attribute of said XML schema comprises a variable length binary code, said variable length binary code being arranged to code said element or attribute of said XML schema.