private void parseVariables(Element element) {
        NodeList nl = element.getChildNodes();
        for (int i = 0; i < nl.getLength(); i++) {
            Node node = nl.item(i);
            if (node instanceof Element) {
                Element ele = (Element)node;

                debugElement(ele);

                if (VARIABLE_ELEMENT.equals(ele.getNodeName())) {
                    ELEngine engine = beanContainer.getElEngine();
                    if (engine != null) {
                        String name = getAttribute(ele, NAME_ATTRIBUTE);
                        String value = getNodeValue(ele);

                        engine.setVariable(name, value);
                    }
                }
            }
        }

    }
Builds object representation of mappings based on content of Xml document

@return mapping container
core/src/main/java/com/github/dozermapper/core/loader/xml/XMLParser.java