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 )

Описание

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

Замечание

This function should be called statically.

    Поддержать сайт на родительском проекте КГБ