public void writeDTD(String dtdName) throws IOException {
		InputStream is = getClass().getClassLoader().getResourceAsStream(dtdName);
		BufferedReader reader = new BufferedReader(new InputStreamReader(is));
		String line;
		while ((line = reader.readLine()) != null) {
			writer.println(line);
		}
		reader.close();
	}
Writes the specified DTD into the file.
@param dtdName the name of the DTD
@throws IOException  if an i/o error occurs
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlWriter.java