XML_Util::createComment | XML_Util::getXMLDeclaration |
XML_Util | |
PEAR Manual | |
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.
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
string document type declaration
This function should be called statically.
XML_Util::createComment | XML_Util::getXMLDeclaration |
XML_Util | |
PEAR Manual | |