String defaultconf = attributes.getValue("defaultconfmapping");
String defaultconf = substitute(ivy, attributes.getValue("defaultconfmapping"));
                                public void startElement(String uri, String localName,                                        String qName, Attributes attributes)                                        throws SAXException {                                    if ("configurations".equals(qName)) {                                        String defaultconf = attributes.getValue("defaultconfmapping");                                        if (defaultconf != null) {                                            _defaultConfMapping = defaultconf;                                        }                                    } else if ("conf".equals(qName)) {                                        // copy                                        if (!_first) {                                            out.print("/>\n\t\t");                                        } else {                                            _first = false;                                        }                                        out.print("<"+qName);                                        for (int i=0; i<attributes.getLength(); i++) {                                            out.print(" "+attributes.getQName(i)+"=\""+attributes.getValue(i)+"\"");                                        }                                    }                                }