@Override
	public void saveXml(Writer fwrite) throws IOException {
		fwrite.append('<').append(name);
		fwrite.append(" success=\"");
		SpecXmlUtils.encodeBoolean(changeSuccessful);
		fwrite.append("\">");
		if (errorMessage != null) {
			SpecXmlUtils.xmlEscapeWriter(fwrite, errorMessage);
		}
		fwrite.append("</").append(name).append(">\n");
	}
Response of server indicating whether a password change request ({@link PasswordChange}) succeeded
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/protocol/ResponsePassword.java