[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] XSLT containing javascript code with '<'

Subject: Re: [xsl] XSLT containing javascript code with '<'
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 12 Feb 2012 12:38:05 +0000

On 11/02/2012 19:58, Wolfgang Laun wrote:
which Chrome refuses to accept as correct javascript, and I think it is right.

Chrome would have accepted had you served it with the correct mime type (application/xhtml+xml) If you serve it as text/html then chrome (and other browsers) expects to get html not xml. Saxon would have generated an html form of the output had you used xsl:output method="html".


google plus: https:/profiles.google.com/d.p.carlisle

Current Thread