RE: how does it fit in with the web

Subject: RE: how does it fit in with the web
From: Mike Brown <mbrown@xxxxxxxxxxxxx>
Date: Wed, 1 Sep 1999 15:01:49 -0600
> (document is rendered on the client side). How does
> one actually specify to use a style sheet? 

This is the subject of a W3C Recommendation:
http://www.w3.org/TR/xml-stylesheet/

Summary: Put this processing instruction in the XML prolog:
<?xml-stylesheet href="somefile.xsl" type="text/xsl"?>

The Recommendation also refers to the possibility of using the HTTP header
'Link' to have the web server tell the client what stylesheet to associate
with the XML document being served, although no examples are given and the
spec curiously refers to "earlier versions of HTTP" ...

-Mike


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread