When generating an XML file with Go, how do you create a doctype declaration? When generating an XML file with Go, how do you create a doctype declaration? xml xml

When generating an XML file with Go, how do you create a doctype declaration?