Rimantas Liubertas wrote:
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?

document.write does not work when XHTML is treated as such, i.e. when
document is served with
apropriate MIME type (application/xhtml+xml).

These will provide you some more information:

http://www.w3.org/MarkUp/2004/xhtml-faq#docwrite
http://ln.hixie.ch/?start=1091626816&count=1
http://www.hixie.ch/advocacy/xhtml
http://lachy.id.au/log/2005/12/xhtml-beginners
http://www.456bereastreet.com/archive/200501/the_perils_of_using_xhtml_properly/

Thanks Rimantas

That is extremely helpful and enlightening.

--
Chris Price



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to