private File createTempTOCFile() throws IOException {
		File tempFile = Application.createTempFile("toc", ".xml");

		PrintWriter out = new PrintWriter(new FileOutputStream(tempFile));
		BufferedReader reader = new BufferedReader(new FileReader(sourceFilename));
		boolean endLineFound = true;
		String line = null;
		while ((line = reader.readLine()) != null) {
			if (line.startsWith("<!DOCTYPE")) {
				if (line.endsWith(">")) {
					continue;
				}
				endLineFound = false;
			}
			if (!endLineFound) {
				if (line.endsWith(">")) {
					endLineFound = true;
					continue;
				}
			}
			out.println(line);
		}
		out.close();
		reader.close();
		return tempFile;
	}
Creates a temporary TOC file that does not have the <!DOCTYPE line in it
which causes the SAX parser to blow up; it does not like the bad url in
it.

@return
@throws IOException
Ghidra/Framework/Help/src/main/java/help/TOCConverter.java