W3C home > Mailing lists > Public > www-rdf-interest@w3.org > February 2004

Re: Human Friendly Trix

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Fri, 20 Feb 2004 12:02:28 +0000
Message-ID: <4035F754.8030708@hplb.hpl.hp.com>
To: Phil Dawes <pdawes@users.sourceforge.net>
Cc: Danny Ayers <danny666@virgilio.it>, Patrick Stickler <patrick.stickler@nokia.com>, www-rdf-interest@w3.org



Phil Dawes wrote:

> 
> Having thought about it, one downside to using the xml-stylesheet tag
> to identify the to-trix stylesheet is that it doesn't (AFAICS) let the
> client know that the stylesheet will output trix. This means that the
> XML file must be targetted specifically at being read by a TriX
> parser, since any other agent applying the stylesheet automatically
> (e.g. a web browser) won't understand the trix output.
> 
> It would be nice to be able to have multiple XSLT stylesheet
> references, allowing the agent to choose which stylesheet to apply
> depending on the output mimetype it wants. Is this possible with the
> current set of XML standards?
> 

http://www.w3.org/TR/xml-stylesheet

allows various pseudo attributes including type and media

these are discussed in
http://www.w3.org/TR/REC-html40/struct/links.html#h-12.3.2
[[
When the LINK element links an external style sheet to a document, the type 
attribute specifies the style sheet language and the media attribute 
specifies the intended rendering medium or media. User agents may save time 
by retrieving from the network only those style sheets that apply to the 
current device.
]]

which suggests that defining a new media is the way to go.

Jeremy
Received on Friday, 20 February 2004 07:02:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:58 UTC