XMLWriter Funciones
PHP Manual

XMLWriter::writeAttributeNS

(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)

XMLWriter::writeAttributeNSEscribe un atributo full de namespaced

Descripción

Estilo orientado a objetos

bool XMLWriter::writeAttributeNS ( string $prefix , string $name , string $uri , string $content )

Estilo por procesos

bool xmlwriter_write_attribute_ns ( resource $xmlwriter , string $prefix , string $name , string $uri , string $content )

Escribe un atributo full de namespaced.

Parámetros

xmlwriter

Sólo para llamadas procedimentales. El resource XMLWriter que está siendo modificado. Este recurso proviene de una llamada a xmlwriter_open_uri() o xmlwriter_open_memory().

prefix

el prefijo del namespace.

name

El nombre del atributo.

uri

El namespace de URI.

content

El valor del atributo.

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también


XMLWriter Funciones
PHP Manual