Including XSL sheet in rss feed in rxml


#1

Hi every one,

I just want to know, how to include XSL style sheet in rss feed
generation in rxml…

i wrote the code to generate a rss feed like this …

xml.instruct! :xml, :version => “1.0”
xml.rss(:version=>“2.0”){
xml.channel{
xml.language(‘en-gb’)
xml.link(‘http://220.225.228.163’)
xml.description(‘Playlist details’)
xml.title(‘title’)
for items in @playlist
# getting contents from database
#subtags
for contids in @contnetslist
xml.item do
path=""
if(@contents[0].user_id==1)
path= path we are printing
else
path= path
end
xml.title(@contents[0].title)
xml.link(‘http://192.168.200.25:3001/user’)
xml.description(items.playlist_name)
xml.link(“public_html/contentObjects”+@contents[0].media_file)

}
}

in this code i want to include sytle sheet catalog.XSL to to display the
rss feed of user’s choice…

can anyone help me in this … …

also i want to generate a RSS feed in a way, the XML tags in rss sshould
display as hyperlinks like for example
http://feeds.feedburner.com/rubyonrailspodcast

please help me in this

thanking you…
krishna.Mundra