downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<DOMImplementation::__constructDOMImplementation::createDocumentType>
Last updated: Thu, 26 Jun 2008

DOMImplementation::createDocument

(No version information available, might be only in CVS)

DOMImplementation::createDocument — Creates a DOMDocument object of the specified type with its document element

Description

DOMDocument DOMImplementation::createDocument ([ string $namespaceURI [, string $qualifiedName [, DOMDocumentType $doctype ]]] )

Creates a DOMDocument object of the specified type with its document element.

Parameters

namespaceURI

The namespace URI of the document element to create.

qualifiedName

The qualified name of the document element to create.

doctype

The type of document to create or NULL.

Return Values

A new DOMDocument object. If namespaceURI , qualifiedName , and doctype are null, the returned DOMDocument is empty with no document element

Errors/Exceptions

DOM_WRONG_DOCUMENT_ERR

Raised if doctype has already been used with a different document or was created from a different implementation.

DOM_NAMESPACE_ERR

Raised if there is an error with the namespace, as determined by namespaceURI and qualifiedName .



add a noteadd a note User Contributed Notes
Creates a DOMDocument object of the specified type with its document element
There are no user contributed notes for this page.




<DOMImplementation::__constructDOMImplementation::createDocumentType>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs