def get_currency(self, code):
        """
        Returns an iterable of currency elements matching the code:
        <CtryNm>UNITED STATES MINOR OUTLYING ISLANDS (THE)</CtryNm>
        <CcyNm>US Dollar</CcyNm>
        <Ccy>USD</Ccy>
        <CcyNbr>840</CcyNbr>
        <CcyMnrUnts>2</CcyMnrUnts>
        NOTE: the currency is repeated for each country name
        """
        missing = True
        for currency in self.currencies[0]:
            try:
                if code != currency.find('Ccy').text:
                    continue
            except AttributeError:
                continue

            missing = False
            yield currency

        if missing:
            raise RuntimeError("%s: %s not found" % (self.name, code))