private void ParseElements(Node parentElement) {
		Node child = parentElement.getFirstChild();
		while (child != null) {
			String nodeName = child.getNodeName();
			
			if (nodeName == "condition") {
				conditions.add(new Condition(child));
			}
			else if (nodeName == "print") {
				message = child.getFirstChild().getNodeValue();
			} else if (nodeName == "action") {
				action = child.getFirstChild().getNodeValue();
			} else if (nodeName == "type") {
				type = child.getFirstChild().getNodeValue();
			} else if (nodeName == "command") {
				command = child.getFirstChild().getNodeValue();
			}
			child = child.getNextSibling();
		}
	}