xhtml: adjust the normalize parameters to the new API