Yes the namespace is newer in wildfly. Just to check, you mean have different templates in the same script? As I thinking having separate xsl files is difficult as there is no easy way to determine if an installation is eap or wildfly.

Yes would appreciate it if you could do the change.