public static Map<String, String> parseParameters(Element driverParametersElement) {
        if (driverParametersElement == null) {
            return Collections.emptyMap();
        }
        Map<String, String> driverParameters = new HashMap<>();
        for (Element parameter : driverParametersElement.elements(new QName("parameter"))) {
            String parameterName = extractText(parameter, "name");
            String parameterValue = extractText(parameter, "value");
            driverParameters.put(parameterName, parameterValue);
        }
        return driverParameters;
    }
Common XML processing helpers used in driver and serializer test suites.
plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/xml/XmlHelper.java