Home > PHP > Function > XMLWriter > XMLWriter::startElementNS()

XMLWriter::startElementNS()

XMLWriter::startElementNS - Create start namespaced element tag

Syntax

bool XMLWriter::startElementNS (string $prefix, string $name, string $uri, resource $xmlwriter, string $prefix, string $name, string $uri, string $prefix, string $name, string $uri, resource $xmlwriter, string $prefix, string $name, string $uri)

Arguments

  • prefix - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • name - The namespace prefix.
  • uri - The element name.
  • xmlwriter - The namespace URI.
  • prefix
  • name
  • uri
  • prefix - Only for procedural calls. The XMLWriter resource that is being modified. This resource comes from a call to xmlwriter_open_uri() or xmlwriter_open_memory().
  • name - The namespace prefix.
  • uri - The element name.
  • xmlwriter - The namespace URI.
  • prefix
  • name
  • uri

Description

Object oriented style

Version

PHP 5.1.2, PECL xmlwriter >= 0.1.0

Return value

Returns TRUE on success or FALSE on failure.