A method of transforming a description of an encoded bit stream, the encoded bit stream comprising data packets, the description being written in a markup language, a group of one or more data packets being described in the description by an element, the element having at least one attribute containing a transformation tag, the method comprising:
- scanning the description to check for a transformation tag in accordance with a predetermined condition;
- and
- generating an adapted description in which the elements, in which a transformation tag does not satisfy the predetermined condition, are removed.