Subject: Re: Problems transforming XHTML

| 
| Ferdinand Soethe wrote:
| 
| > Problem solved or rather 'gone away'. After updating to today's version
| > of Forrest and freshly seeding the site XHTML is supported as
| > expected.
| 
| After some more experimenting:
| 
| For XHTML to work properly you may have a doctype declaration but must
| NOT have a namespace in the html-element.
| 
| --
| Ferdinand Soethe
| 

Hmm, I have found when building web pages that :-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" >

Works fine, but there are display and interpretation problems in certain
browsers (IE) when including the xml declaration also.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" >

Whether this presents a problem anywhere I don't know at this stage.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 22/08/2005

Reply via email to