This code is succincter than what it replaces and (most importantly) correctly allows the developer to specify both XML and HTML pages.