auto mimeType = new MimeType("text/html"); mimeType.addXMLnamespace("http://www.w3.org/1999/xhtml", "html"); assert(mimeType.XMLnamespaces == [XMLnamespace("http://www.w3.org/1999/xhtml", "html")]); mimeType.clearXMLnamespaces(); assert(mimeType.XMLnamespaces().empty);
Add XML namespace.