* James Yenne <[EMAIL PROTECTED]> [2006-02-27 05:25]:
>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".

Smells like abuse to me. I’d pass it to the XSL transform using a
namespaced element instead, à la

    <feed xmlns="http://www.w3.org/2005/Atom";>
        <css 
xmlns="tag:example.org,2006:Foo">/somewhere/over/the/rainbow.css</css>
        <!-- ... -->
    </feed>

If you really don’t want to put in a namespaced element for some
(odd?) reason, you can use an IRI to specify the relationship:

    <atom:link rel="http://example.org/rel/stylesheet"; 
href="/somewhere/over/the/rainbow.css"/>

I don’t think a `stylesheet` relationship warrants adoption in
the canon in any case.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Reply via email to