void write(XmlWriter writer, AddressSetView set, TaskMonitor monitor)  throws CancelledException {
		monitor.setMessage("Writing EQUATES ...");
		writer.startElement("EQUATES");

		writer.startElement("EQUATE_GROUP");
		Iterator<Equate> iter = equateTable.getEquates();
		while (iter.hasNext()) {
			if (monitor.isCancelled()) {
				throw new CancelledException();	
			}
			Equate equate = iter.next();
			writeEquate(writer, equate, set);
		}	
		writer.endElement("EQUATE_GROUP");
		
		writer.endElement("EQUATES");
	}
Write out the XML for the Equates.
@param writer writer for XML
@param set address set that is either the entire program or a selection
@param monitor monitor that can be canceled
should be written
@throws IOException
Ghidra/Features/Base/src/main/java/ghidra/app/util/xml/EquatesXmlMgr.java