Re: XHTML's reception

Arjun Ray <aray@q2.net> wrote:

> the only way to inline scripts is put them in CDATA marked sections,
> which in turn is guaranteed *not* to work in existing "HTML user
> agents".

On a non-political practical note, how about:

  <script type="text/javascript"><!-- // --><![CDATA[
    ...
  //]]></script>

Granted, it's aesthetically ghastly, but it would seem to satisfy
HTML, XHTML and TagSoup parsers simultaneously. Can anyone see any
technical problems with this construct?

-- 
Andrew Clover
Technical Consultant
1VALUE.com AG

Received on Monday, 25 June 2001 06:23:36 UTC