My feeds contain a generic xml-stylesheet, which formats the feed for display along with a feed-specific css.  Since xsl processors do not have a standard way to pass parameters to xsl stylesheets, I provide this feed-specific css to the xsl processor in the feed as a link with rel="stylesheet".  Generating xhtml with this xsl/css solution works for rendering both in IE6 and FF1.5.  (Why does IE7 rip out xml-stylesheet directives?) 
 
A link rel="stylesheet" seems to be the most efficient solution, however, a fully qualified URI relation does the job too.  I would like to request a stylesheet link relation be added to the IANA List of Relations and supported in the validators.  Thoughts? 
 
Thanks,
James

Reply via email to