XMLWriter::startElementNs
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Create start namespaced element tag
Description
Oop
XMLWriter::startElementNs(string|null $prefix, string $name, string|null $namespace): bool
Procedural
xmlwriter_start_element_ns(XMLWriter $writer, string|null $prefix, string $name, string|null $namespace): bool
Starts a namespaced element.
Parameters
prefixThe namespace prefix. If
prefixis null, the namespace will be omitted.nameThe element name.
namespaceThe namespace URI. If
namespaceis null, the namespace declaration will be omitted.
Return Values
Success
Changelog
| Version | Description |
|---|
See Also
XMLWriter::endElementXMLWriter::writeElementNs