XMLWriter::startElement

Starts an element

public function startElement(
  string $name,
): bool;

Parameters

  • string $name - The element name.

Returns

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