@Override
	public void saveXml(Writer fwrite) throws IOException {
		qupdate.manage.populateExecutableXref();	// Make sure cross-references are pregenerated
		fwrite.append('<').append(name).append(">\n");
		Iterator<ExecutableRecord> iter2 = badexe.iterator();
		while (iter2.hasNext()) {
			ExecutableRecord exe = iter2.next();
			fwrite.append("<badexe id=\"");
			fwrite.append(SpecXmlUtils.encodeUnsignedInteger(exe.getXrefIndex()));
			fwrite.append("\">\n");
		}
		Iterator<FunctionDescription> iter = badfunc.iterator();
		while (iter.hasNext()) {
			FunctionDescription func = iter.next();
			fwrite.append("<badfunc id=\"");
			fwrite.append(
				SpecXmlUtils.encodeUnsignedInteger(func.getExecutableRecord().getXrefIndex()));
			fwrite.append("\" name=\"");
			SpecXmlUtils.xmlEscapeWriter(fwrite, func.getFunctionName());
			fwrite.append("\" addr=\"");
			fwrite.append(SpecXmlUtils.encodeUnsignedInteger(func.getAddress()));
			fwrite.append("\">\n");
		}
		fwrite.append("</").append(name).append(">\n");
	}
Response to a QueryUpdate request to a BSim database.  Simple counts of successful updates are given.
References to any original ExecutableRecord or FunctionDescription objects that could not be updated
are also returned.
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/protocol/ResponseUpdate.java