The stylesheet is essentially a template to generate the HTML.
It goes wherever you want it and it's location is suggested by the my $xslfile = "example.xsl"; in the perl. So long as you get the relative location correct it should work.
The xml that the XSL stylesheet/transform works on is your RSS file.
If it does what we expect, the perl should call the XSL to transform the RSS file into HTML. ie. put your rss file location into my $xmlfile = "example.xml";
The transform I suggested is very simple but you can add other html elements to it. The XSL simply copies the HTML to output as it looks for "xsl:" elements.
<xsl:template match="item"> looks for all occurences of elements called 'item'
<xsl:template match="text()¦@*"> gives you control of the output by simply overwriting the default templates for text and attribute nodes. Otherwise you would get simple dump of the contents of nodes.
The only thing that might complicate this is if you are trying to add other <? scripting?> languages as the XSLT processor will try to understand the contents.. but then I believe there may be ways round that too.
Obviously you need to have the perl XML::XSLT module avaliable.
Hope that helps.
You can find more of an introduction to XML, XSL and others at w3schools [w3schools.com]
[edited by: davidpbrown at 9:10 am (utc) on July 16, 2004]