How to generate an xml file like this one ?

Hi,

I ve got this tiny xml example, and i ve to be able to generate it
dynamically :

in an xml.builder view:
xml.flv_playlist do {
@movies.each do |movie|
  xml.description(:name => "Name")
  xml.description(:name => "Rating")

  xml.video(:name => "#{movie.number} (#{movie.length})" Rating=
movie.rating)
xml.video(:name => "#{movie.number} (#{movie.length})" Rating=
movie.rating)

end
}

something like this ...