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

XMLWriter::writeRaw()

XMLWriter::writeRaw - Write a raw XML text

Syntax

bool XMLWriter::writeRaw (string $content, resource $xmlwriter, string $content, string $content, resource $xmlwriter, string $content)

Arguments

  • content - 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().
  • xmlwriter - The text string to write.
  • content
  • content - 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().
  • xmlwriter - The text string to write.
  • content

Description

Object oriented style

Version

PHP 5.2.0, PECL xmlwriter >= 2.0.4

Return value

Returns TRUE on success or FALSE on failure.