> > I'm also wondering, why we need to do that? Can't rhythmbox generates > > an already 'optimized' file? I quickly checked and couldn't find such > > feature in libxml2. Yes. See: http://xmlsoft.org/html/libxml-xmlsave.html#XML_SAVE_FORMAT