Function MimeType.addXMLnamespace
Add XML namespace.
void addXMLnamespace
(
string namespaceURI,
string localName
) pure nothrow @safe;
void addXMLnamespace
(
std .typecons .Tuple!(string,"namespaceURI",string,"localName") namespace
) pure nothrow @safe;
Example
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);