If you don't want any namespace prefix at all but still want the xmlns attribute, set $prefix to null.
XMLWriter::startElementNs
(No version information available, might be only in CVS)
XMLWriter::startElementNs — Crée un élément d'un espace de noms
Description
Style orienté objet :
XMLWriter
bool startElementNS
( string $prefix
, string $name
, string $uri
)
Style procédural :
bool xmlwriter_start_element_ns
( resource $xmlwriter
, string $prefix
, string $name
, string $uri
)
Crée un élément d'un espace de noms.
Liste de paramètres
- xmlwriter
-
Uniquement pour les appels procéduraux. La ressource XMLWriter qui a été modifiée. Cette ressource provient d'un appel à xmlwriter_open_uri() ou xmlwriter_open_memory().
- prefix
-
Le préfixe de l'espace de noms.
- name
-
Le nom de l'élément.
- uri
-
L'URI de l'espace de noms.
Valeurs de retour
Cette fonction retourne TRUE en cas de succès, FALSE en cas d'échec.
XMLWriter::startElementNs
anthony dot parsons at manx dot net
05-Aug-2007 07:27
05-Aug-2007 07:27
