String stylesheet = getPortletConfig().getInitParameter("stylesheet");
String realStylesheet = getPortletConfig().getPortletContext().getRealPath(stylesheet);
String url = prefs.getValue("url", "http://news.bbc.co.uk/rss/sportonline_uk_edition/football/internationals/england/squad_profiles/rss091.xml");
String key = cache.constructKey(url, stylesheet); // TODO: use the entire parameter list
TransformCacheEntry entry = cache.get(key);
if (entry != null)
{
byte[] bytes = (byte[])entry.getDocument();
Streams.drain(new StringReader(new String(bytes,"UTF-8")), response.getWriter());
}
else
{
try