Bob, I want to add that we need to use CDATA with larger scripts, and any non-xml text in general.
This would cause a problem:
<script language="JavaScript1.2">
function showWhyWeNeedCdata {
if ( 1 < 2 )
alert("scripts need CDATA");
}
</script>
Yours were fine, but we run across <,>, and sometimes & in scripts.
Taylor Cowan
|