David Dorward wrote:
On Thu, Dec 07, 2006 at 03:48:46PM +0000, Chris Price wrote:
I don't understand why there is a problem with document.write and how
that invalidates the XHTML.
Using document.write doesn't invalidate the XHTML, there just aren't
any implementations of XHTML parsers that can handle document.write
(AFAIK).
I'm not being awkward but I still don't understand the issue here.
document.write is not what is being served. Rather, it is part of a
script that is serving html on the client side.
What does javascript have to do the parsing of the xhtml?
How else do I serve html using javascript?
--
Chris Price
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************