XMLWriter::startAttribute

Starts an attribute

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

Parameters

  • string $name - The attribute name.

Returns

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