I have been playing with the new plugin based environment checks in Moodle (https://tracker.moodle.org/browse/MDL-39840) and found that they seem to have to be attached to a specific version of Moodle, i.e.
<COMPATIBILITY_MATRIX>
<MOODLE version="2.6">
<PHP_EXTENSIONS>
<PHP_EXTENSION name="xml" level="required" />
<PHP_EXTENSION name="xsl" level="required" />
</PHP_EXTENSIONS>
</MOODLE>
</COMPATIBILITY_MATRIX>
Is there a way to make the requirement across all versions, without having to create an entry for each version of Moodle?