src/main/java/org/xmlet/xsdparser/xsdelements/XsdAbstractElement.java
protected static Map<String, String> convertNodeMap(NamedNodeMap nodeMap){
        HashMap<String, String> attributesMapped = new HashMap<>();

        for (int i = 0; i < nodeMap.getLength(); i++) {
            Node node = nodeMap.item(i);
            attributesMapped.put(node.getNodeName(), node.getNodeValue());
        }

        return attributesMapped;
    }
protected static Map<String, String> convertNodeMap(NamedNodeMap nodeMap){
        HashMap<String, String> attributesMapped = new HashMap<>();

        for (int i = 0; i < nodeMap.getLength(); i++) {
            Node node = nodeMap.item(i);
            attributesMapped.put(node.getNodeName(), node.getNodeValue());
        }

        return attributesMapped;
    }
Converts a {@link NamedNodeMap} to a {@link Map} object. This is meant to simplify the manipulation of the
information.
@param nodeMap The {@link NamedNodeMap} to convert to a {@link Map} object.
@return The {@link Map} object that was generated by the conversion.