XMLWriter::startElementNS

Starts a namespaced element

public function startElementNS(
  mixed $prefix,
  string $name,
  string $uri,
): bool;

Parameters

  • mixed $prefix - The namespace prefix.
  • string $name - The element name.
  • string $uri - The namespace URI.

Returns

  • bool - - Returns TRUE on success or FALSE on failure.