protected static function createSymbol(\SimpleXMLElement $sNode, $code)
    {
        switch((string) $sNode['type']) {
            case 'UCS':
                $symbol = (string) $sNode['UTF-8'];
                break;
            case null: //no symbol - use code
            default:
                $symbol = $code;
                break;
        }

        return $symbol;
    }
protected static function createSymbol(\SimpleXMLElement $sNode, $code)
    {
        switch((string) $sNode['type']) {
            case 'UCS':
                $symbol = (string) $sNode['UTF-8'];
                break;
            case null: //no symbol - use code
            default:
                $symbol = $code;
                break;
        }

        return $symbol;
    }
protected static function createSymbol ( \ SimpleXMLElement $ sNode , $ code ) { switch ( ( string ) $ sNode [ 'type' ] ) { case 'UCS' : $ symbol = ( string ) $ sNode [ 'UTF-8' ] ; break ; case null : //no symbol - use code default : $ symbol = $ code ; break ; } return $ symbol ; }
Create currency symbol from the symbol node

@param \SimpleXMLElement $sNode
@param string $code currency code

@return string
Create currency symbol from the symbol node