array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'xmlwriter.text.php', 1 => 'XMLWriter::text', 2 => 'Escribe texto', ), 'up' => array ( 0 => 'class.xmlwriter.php', 1 => 'XMLWriter', ), 'prev' => array ( 0 => 'xmlwriter.startpi.php', 1 => 'XMLWriter::startPi', ), 'next' => array ( 0 => 'xmlwriter.tomemory.php', 1 => 'XMLWriter::toMemory', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/xmlwriter/xmlwriter/text.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
XMLWriter::text -- xmlwriter_text — Escribe texto
Estilo orientado a objetos
Estilo procedimental
Escribe texto.
writerÚnicamente para llamadas procedimentales. La instancia XMLWriter que es modificada. Este objeto proviene de una llamada a xmlwriter_open_uri() o xmlwriter_open_memory().
content
El contenido del texto.
Los caracteres <, >,
& y " se escriben como
referencias de entidades (c.à.d. <,
>, & y
", respectivamente).
Todos los otros caracteres ' incluidos se escriben
literalmente. Para escribir los caracteres XML especiales literalmente, o
para escribir referencias de entidades literales,
xmlwriter_write_raw() debe ser utilizado.