Could we add CSS?
Michael
radio-outline@userland.com
Sat, 06 Apr 2002 21:45:04 -0800
On 4/6/02 9:24 PM, "Jeremiah Rogers" <jeremiah@kaxis.cx> wrote:
> This is sort of a far-off question, but I was wondering about the
> viability of adding stylesheets to OPML files. I imagine it would be
> hard to do and require some reworking of the CSS standards, but it would
> be interesting still.
>
> I'd like to hear other thoughts on this.
You're absolutely right about the needing to rework the standard. For XML
(OPML being XML at heart) the W3C reworked the CSS idea into XSL. So you use
XSL to format XML for display. Here's a good tutorial/introduction:
http://www.w3schools.com/xsl/xsl_intro.asp
and here's an example using actual, bonafide OPML:
http://www.netcrucible.com/xslt/opml.html
It will be best for viewing these links if you are using Win/IE 6, because
that's the only browser whose XSL know-how is up to spec.
Cheers,
Mike