private HashMap fetchParams(Element d) {
        HashMap<String, String> p = new HashMap<String, String>();
        NamedNodeMap attrs = d.getAttributes();
        int a = attrs.getLength();
        for (int i = 0; i < a; i++) {
            p.put(attrs.item(i).getNodeName(), (String) attrs.item(i).getTextContent());
            logger.trace("fetchParams [" + d.getTagName() + "] --- attribute: " +attrs.item(i).getNodeName() + "--- value: "+(String) attrs.item(i).getTextContent());
        }
        return p;
    }