Attaches a header to the document.
the encoding that should be put in the header
the receiver
auto doc = new XmlDocument!(); doc.header("UTF-8"); // <?xml version="1.0" encoding="UTF-8"?>
See Implementation
Attaches a header to the document.