From: John Johnson Date: 2006-06-22T11:30:28+09:00 Subject: Re: YAMLT ? I would think you could use marshaling to accomplish this. Just write your own dumper/loader class: # Create a sample YAML file. require 'yaml' tree = { :name => 'ruby', :uses => [ 'scripting', 'web', 'testing', 'etc' ] } File.open("tree.yaml", "w") {|f| YAML.dump(tree, f)} # A transformer. require 'nezbit' require 'yaml' tree = YAML.load_file("tree.yaml") File.open("tree.nzb", "w") { |f| Nezbit.dump(tree, f)} # And finally, a routine to use the transformed data. require 'nezbit' tree = Nezbit.load_file("tree.nzb") Regards, JJ On 17-Jun-2006, at 08:51, Victor 'Zverok' Shepelev wrote: > Hi all. > > A short question. > > XML has XSLT (which is XML itself) > JSON has less-known JSONT (http://goessner.net/articles/jsont/), which > also > is JSON itself. > > What about YAMLT? Is it exists? Can it be useful? How can it look? > > More practically: is it worse trying to write YAMLT implementation in > Ruby? > > V. > > --- "America goes not abroad in search of monsters to destroy." -- John Quincy Adams