(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writeElementNs -- xmlwriter_write_element_ns — Write full namespaced element tag
Estilo orientado à objeto
$prefix
, string $name
, string $uri
[, string $content
] ) : boolEstilo procedural
$xmlwriter
, string $prefix
, string $name
, string $uri
[, string $content
] ) : boolWrites a full namespaced element tag.
xmlwriterApenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().
prefixThe namespace prefix.
nameThe element name.
uriThe namespace URI.
contentThe element contents.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.
| Versão | Descrição |
|---|---|
| 5.2.3 |
The content parameter became optional.
|