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]]]])

Beschreibung

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

Parameter

Rückgabewert

string xml tag

Hinweise

Diese Methode sollte statisch aufgerufen werden..