W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > January 1997

Re: Sample Question

From: W. Eliot Kimber <eliot@isogen.com>
Date: Thu, 30 Jan 1997 13:09:55 -0900
Message-Id: <3.0.32.19970130130210.00c848f0@uu10.psi.com>
To: w3c-sgml-wg@www10.w3.org
At 10:36 AM 1/30/97 -0600, Len Bullard wrote:
>Will the following example be koscher XML?
>
><HTML>
><HEAD>
><TITLE>Hello World</TITLE>
>.
>.
><P>Your IP address is <SERVER>write(request.ip)</SERVER>
><SERVER>write("<p>Last time your were " + client.oldname + ".")</SERVER>

No (because <p> tag is not closed).  But this would be:

<P>Your IP address is <SERVER>write(request.ip)</SERVER>
<SERVER>write(
<![CDATA["<p>Last time your were " + client.oldname + "."]])</SERVER>

Cheers,

E.
Received on Thursday, 30 January 1997 14:12:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:07 UTC