Björn Jadelius | 2 Apr 2011 15:29
Picon
Gravatar

xml-stylesheet in web preview

Hello.

The following document with a xml-stylesheet is not formatted in TextMate's web preview. It works in
Safari, but only if the file extension is xhtml. My guess is that the the document sent to preview is served
as html and not xhtml.  Is there a way to make TextMate's web preview to understand that this is xhtml?
--------------------------------------------
<?xml-stylesheet href="format.css" type="text/css"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Title</title>
</head>

<body>
	<h1>Hello</h1>
	<p>This page is not formatted according to format.css in TextMates web preview. It works well in Safari
and Firefox</p>
</body>
</html>
--------------------------------------------
Björn Jadelius
Boll smedja
Karlavagnsgatan 5
417 56 Göteborg 

070-2504749
bjorn@...

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate


Gmane