XML_Util::createTag()

XML_Util::createTag() -- Crée un 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

Crée un tag avec ces attributs, son espace de nom et ajoute 'xmlns' si nécessaire.

Paramètres

Valeur retournée

string : tag xml

Note

Cette fonction devrait être appelée de façon statique.