[TxMt] Re: Misguided use of content-type in XHTML/1.1 template

Jacob Rus jrus at hcs.harvard.edu
Tue Mar 6 00:33:27 UTC 2007


Jacob Rus wrote:
> So I think we should make the default template instead look like:
> 
>     <?xml version="1.0" encoding="UTF-8"?>
>     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
>       "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> 
>     <html xmlns="http://www.w3.org/1999/xhtml"
>       version="-//W3C//DTD XHTML 1.1//EN" xml:lang="en">
>     <head>
>         <title>${TM_NEW_FILE_BASENAME}</title>
> 
>     </head>
> 
>     <body>
> 
> 
>     </body>
>     </html>

And actually, I'm not so sure we really need the `version` attribute of 
the `html` tag, either.  I can't find any xhtml 1.1 documents on the web 
that use such an attribute.

-Jacob




More information about the textmate mailing list