there’s a big static part in the xml i want to output, can i do this
in a “RHTML” way?
i tried to copy the static part and paste into the RXML template, but
it didn’t work.
i tried to to do this inside my XMLController
- def photos
@photos = Photo.find(:all, :limit => 3, :order => 'rand()')
but it won’t work either. do i have to write the static part using the
normal “xml.” way?