Hi Bob,

You 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?
>>

Ritmantas replied:
> document.write does not work when XHTML is treated as such, i.e. when 
> document is served with apropriate MIME type (application/xhtml+xml). You 
> can try for yourself, [...]

Possibly easier, just change the filename extension to "xhtml' and open the 
file locally. Opera 9 and Firefox 2, at least, accept this as an XML MIME 
type.

Cordially,
David
--




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

Reply via email to