Search

This ends the quest for the perfect HTML5 solution.

<xsl:output method="xml" 
            doctype-system="about:legacy-compat" 
            omit-xml-declaration="yes" 
            encoding="UTF-8" 
            indent="yes" />

Output:

<!DOCTYPE html SYSTEM "about:legacy-compat"> 
<html> 

This is valid according to the spec

Hmm.... perhaps i spoke too soon?! Not everything works out well.

External script tags are made self-closing unless you put something in them..

&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">&lt;/script>

becomes

<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"/>

Unless you use:

&lt;script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">//&lt;/script>

Not everything works out well

Can you be more specific?

It may be worth continuing your discussion on the other thread, where we've already discussed the legacy:compat mode.

http://getsymphony.com/discuss/thread/43003/3/#position-55

Ah, i didn't see that discussion!

Closing this thread in favour of the other :-)

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details