XML_Util::createTag()

XML_Util::createTag() -- create a tag

Synopsis

require_once 'XML/Util.php';

string XML_Util::createTag (string $qname [, array $attributes = array() [, string $content = NULL [, string $namespaceUri = NULL [, integer $replaceEntities = XML_UTIL_REPLACE_ENTITIES]]]])

Description

create a tag with attributes, namespace and adds 'xmlns' if needed.

Parameter

Return value

string xml tag

Note

This function should be called statically.