XMLWriter::startAttributeNS

Starts a namespaced attribute

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

Parameters

  • string $prefix - The namespace prefix.
  • string $name - The attribute name.
  • string $uri - The namespace URI.

Returns

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