1 2 3 4 5 6 7 8 9 10 11
xml.instruct! xml.dataset do @features.each do |feature,compounds| xml.feature do xml.uri feature compounds.each do |c| xml.compound_uri c end end end end