& inside script tag

hi,

I'm currently trying to work with the jTidy (last release) classes under
solaris. I want to convert HTML code to XHTML. In the W3C XHTML
recommendation, under the chapter detailling the differences with HTML
4, it's specified that "&" and "<" inside <script> tag are trated in
XHTML as entities or start of markup. The solution provide is to specify
the code as CDATA :

<script>
  <![CDATA[
    ... script content ...
  ]]>
</script>

Is there any option in jTidy to obtain that result ?

Patrice Jaton

Received on Monday, 29 January 2001 12:11:49 UTC