previousXML_Util::getDocTypeDeclaration (Previous) (Next) XML_Util::isValidNamenext

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::getXMLDeclaration

XML_Util::getXMLDeclaration() – build an xml declaration

Synopsis

require_once 'XML/Util.php';

string XML_Util::getXMLDeclaration ( string $version = "1.0" , string $encoding = null , boolean $standalone = null )

Description

Returns an XML declaration based on parameters.

Parameter

  • string $version - XML version

  • string $encoding - XML encoding

  • boolean $standalone - whether document is standalone

Return value

string XML declaration

Note

This function should be called statically.

previousXML_Util::getDocTypeDeclaration (Previous) (Next) XML_Util::isValidNamenext

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.