This worked locally for me too, but switching to xhtml11_schema.html
introduces an invalid namespace. Google and other XML consumers expect the standard XHTML namespace (http://www.w3.org/1999/xhtml
), so this approach breaks in production environments like Search Console. Best to stick to the official namespace to avoid parsing issues.