public static InstructionSequence fromXml(Element element) {
		if (element == null) {
			return null;
		}

		List<String> instructionsList = new ArrayList<>();
		Element instructionsListEle = element.getChild("instructions");
		if (instructionsListEle != null) {
			for (Element instEle : XmlUtilities.getChildren(instructionsListEle, "instruction")) {
				String val = instEle.getAttributeValue("value");
				instructionsList.add(val);
			}
		}

		List<Integer> sizesList = new ArrayList<>();
		Element sizesListEle = element.getChild("sizes");
		if (sizesListEle != null) {
			for (Element sizeEle : XmlUtilities.getChildren(sizesListEle, "size")) {
				String val = sizeEle.getAttributeValue("value");
				sizesList.add(val != null ? XmlUtilities.parseInt(val) : null);
			}
		}

		List<String> csoList = new ArrayList<>();
		Element csoListEle = element.getChild("commaSeparatedOperands");
		if (csoListEle != null) {
			for (Element csoEle : XmlUtilities.getChildren(csoListEle, "operands")) {
				String val = csoEle.getAttributeValue("value");
				csoList.add(val);
			}
		}

		InstructionSequence result = new InstructionSequence();
		result.setInstructions(instructionsList.toArray(new String[instructionsList.size()]));
		result.setCommaSeparatedOperands(csoList.toArray(new String[csoList.size()]));
		result.setSizes(sizesList.toArray(new Integer[sizesList.size()]));

		return result;
	}
Creates an {@link InstructionSequence} instance from a XML node.

@param element jdom Element to read, null ok
@return new {@link InstructionSequence} or null if element was null
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java