public static Address decodeFromAttributes(Decoder decoder) throws DecoderException {
		AddressSpace spc = null;
		long offset = -1;
		for (;;) {
			int attribId = decoder.getNextAttributeId();
			if (attribId == 0) {
				break;
			}
			if (attribId == ATTRIB_SPACE.id()) {
				spc = decoder.readSpace();
			}
			else if (attribId == ATTRIB_OFFSET.id()) {
				offset = decoder.readUnsignedInteger();
			}
		}
		if (spc == null) {
			return Address.NO_ADDRESS;
		}
		return spc.getAddress(offset);
	}
Create an address from "space" and "offset" attributes of the current element
@param decoder is the stream decoder
@return the decoded Address
@throws DecoderException for any problems decoding the stream
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/pcode/AddressXML.java