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

Return value

string document type declaration

Note

This function should be called statically.