Hi Josh and Abinoam Jr, Actually, those contents will be converted into YAML format for other purpose where indentation is very important. And i dont think other kind of data representation is suitable for that purpose. Anyway, what do you mean by 'recursively parse' it? And where can i find any tutorials or examples that use 'that', if by any chance available on the net? Thanks in advance Nizam -- Posted via http://www.ruby-forum.com/.