[Prev][Next][Index][Thread]

Re: Sample Question



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.


Follow-Ups: