fix the case in which the media-type attribute is not set in the xslt