implementing XSLT in rss feed
Can anyone help me in implementing rss feed with stylesheet of user's
xml.instruct! :xml, :version=>"1.0"
for food in @foods
for portion in food.portions
the above code generates rss like this
<?xml version="1.0" encoding="UTF-8" ?>
<description>Olives, ripe, canned (small-extra large)</description>
Re: implementing XSLT in rss feed
> but i want to include the root tag of XSL sheet in the generated rss
> <?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>
> can anyone help me in this....
xml.instruct! 'xml-stylesheet', :type => "text/xsl", :href =>
Posted via http://www.ruby-forum.com/.
|All times are GMT. The time now is 06:54 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.