public void startElement(String uri, String localName, String qName,
                        Attributes attributes) throws SAXException {

                    if (qName.equalsIgnoreCase("currency")) {
                        foundCurrency = true;
                    }
                    if (qName.equalsIgnoreCase("inBGN")) {
                        exchangeRateFound = true;
                    }
                    
                }