Re: !DOCTYPE creation viadom implementation ADDITION

[email protected] (Jaanus Heeringson)
Newsgroups php.xml.dev
Message-ID <[email protected]>
Sorry, forgot to tell what the problem was... there simply is no 
!DOCTYPE line or xmlns attribute in the output, like this:

<?xml version="1.0" encoding="utf-8"?>
<html/>

By the way, can someone explain what is wrong with the following line:

domImplementation::createDocument('http://www.w3.org/1999/xhtml','html',$doctype);

I get an error reguarding Invalid Namespace.

/Jaanus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.