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 :

<FLV_PLAYLIST>

#####

I tried to handle it using rxml… but i guess i m to bad to do it…
If someone could give me an hand i’ll appreciate it so much !!!

Thanks a lot,

Guillaume.

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 …