The context element changes the evaluation context for all child elements. The new evaluation context (self) is determined by the expr-attribute.
Without the expr attribute, the <context> may be used as helper element, for instance to hold namespace declarations that shall not appear in the generated XML code.