W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2004

Re: tidy and JS

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 25 Mar 2004 16:53:15 +0100
To: Fabrice Estiévenart <fe@cetic.be>
Cc: html-tidy@w3.org
Message-ID: <40670041.1027108413@smtp.bjoern.hoehrmann.de>

* Fabrice Estiévenart wrote:
>tidying up this javascript:
>
><script type="text/javascript" language="JavaScript">
>         document.write('<select name="Language" 
>onChange="JumpMenu(this.options[this.selectedIndex].value)"; return true;>');
>     document.write('<option value="about_es.htm">Castellano<\/option>');
></script>
>
>gives me no change in the html code. However, the output document is not 
>well-formed xml.

You should use the -asxml (--output-xhtml yes) config option then.
Received on Thursday, 25 March 2004 10:53:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:53 UTC