require_once 'XML/Util.php';
string XML_Util::getXMLDeclaration ([string $version = "1.0" [, string $encoding = NULL [, boolean $standalone = NULL]]])
string XML_Util::getXMLDeclaration
Returns an XML declaration based on parameters.
string $version - XML version
string $encoding - XML encoding
boolean $standalone - whether document is standalone
string XML declaration
This function should be called statically.