XMLWRITER_WRITE_ELEMENT_NS(3) 1 XMLWRITER_WRITE_ELEMENT_NS(3)
XMLWriter::writeElementNS - Write full namespaced element tag
Object oriented style
SYNOPSIS
bool XMLWriter::writeElementNS (string $prefix, string $name, string $uri, [string $content])
DESCRIPTION
Procedural style
bool xmlwriter_write_element_ns (resource $xmlwriter, string $prefix, string $name, string $uri, [string $content])
Writes a full namespaced element tag.
PARAMETERS
o $
xmlwriter -Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xml-
writer_open_uri(3) or xmlwriter_open_memory(3).
o $prefix
- The namespace prefix.
o $name
- The element name.
o $uri
- The namespace URI.
o $content
- The element contents.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
CHANGELOG
+--------+------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+------------------------------------------+
| 5.2.3 | |
| | |
| | The $content parameter became optional. |
| | |
+--------+------------------------------------------+
SEE ALSO
XMLWriter::startElementNS, XMLWriter::endElement, XMLWriter::writeElement.
PHP Documentation Group XMLWRITER_WRITE_ELEMENT_NS(3)