Transforms an XML stream based on a given Carml mapping.