[Home] [By Thread] [By Date] [Recent Entries]

  • To: xml-dev@l...
  • Subject: xml-stylesheet or <style>
  • From: Frans Englich <frans.englich@t...>
  • Date: Thu, 11 Nov 2004 16:55:24 +0000
  • User-agent: KMail/1.7


Hello,

As far as I can tell, there is two possibilities for specifying a CSS for an 
XHTML document; via the (application) mechanism html/head/{style,link}; and 
via the XML processing instruction xml-stylesheet. The former works only for 
XHTML, while the latter works for any XML application.

When in the need of associating a CSS with an XHTML document, what is the best 
method? What differs them apart? Does it matter?

I can understand that the difference is significant when an XSLT is 
specified(if that even works if it's not in xml-stylesheet), since it's on a 
lower level.


Cheers,

		Frans


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member