previousXML_Util::createComment (Previous) (Next) XML_Util::getXMLDeclarationnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

XML_Util::getDocTypeDeclaration

XML_Util::getDocTypeDeclaration() – build a document type declaration

Synopsis

require_once 'XML/Util.php';

string XML_Util::getDocTypeDeclaration ( string $root , mixed $uri = null , mixed $internalDtd = null )

Description

Returns a document type declaration based on parameters.

Parameter

  • string $root - root tag

  • mixed $uri - URI of the document type definition or array containing the public id and the URI of the DTD

  • mixed $internalDtd - internal definitions

Return value

string document type declaration

Note

This function should be called statically.

previousXML_Util::createComment (Previous) (Next) XML_Util::getXMLDeclarationnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.