Emerging markets attract record $126 billion in clean energy investment