B
Bill
Hi
I'm learning XML by myself and as you'll see I'm at the very beginning so be
patient with me please.
Assertion: <![ CDATA[ ... ]]> can be used to escape controls in a xml
document.
So if I write the following code :
<mycode>
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
it'a a try
</title>
</head>
<body>
<p> This is the synopsis for the <![CDATA [ <!DOCTYPE root_name DTD_URI
subsets ...> ]]> where blah blah blah </p>
</body>
</html>
</mycode>
If I display that in FF I obtain:
This is the synopsis for the ]]> where blah blah blah
I don't understand. I unmistakably made a mistake but where ?
Thanks
I'm learning XML by myself and as you'll see I'm at the very beginning so be
patient with me please.
Assertion: <![ CDATA[ ... ]]> can be used to escape controls in a xml
document.
So if I write the following code :
<mycode>
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
it'a a try
</title>
</head>
<body>
<p> This is the synopsis for the <![CDATA [ <!DOCTYPE root_name DTD_URI
subsets ...> ]]> where blah blah blah </p>
</body>
</html>
</mycode>
If I display that in FF I obtain:
This is the synopsis for the ]]> where blah blah blah
I don't understand. I unmistakably made a mistake but where ?
Thanks