Re: XHTML Validation

In <000101c04da3$bd4e30c0$fa21e540@IanEvans>, "Ian M. Evans" <ianevans@digitalhit.com> writes:
> Just trying to get my docs to pass the XHTML 1.0 validation. One part of a
> JavaScript is tripping it up twice (one for each &)
> 
> { if ((typeof window.sidebar == "object") &&
> Error: character "&" is the first character of a delimiter but occurred as
> data
> 
> Is there anything I can do manually or via Tidy to change this?

Where feasible the easiest way to handle Javascript code is to move it to a 
separate file. Otherwise place the whole script in a CDATA section.

-- 
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/

Received on Monday, 13 November 2000 16:08:05 UTC