XMLWriter::writeAttributeNS
xmlwriter_write_attribute_ns
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::writeAttributeNS -- xmlwriter_write_attribute_ns — Escribe un atributo full de namespaced
Descripción
Estilo orientado a objetos
bool XMLWriter::writeAttributeNS
( string
$prefix
, string $name
, string $uri
, string $content
)Estilo por procedimientos
bool xmlwriter_write_attribute_ns
( resource
$xmlwriter
, string $prefix
, string $name
, string $uri
, string $content
)Escribe un atributo de espacio de nombres completo.
Parámetros
-
xmlwriter -
Sólo para llamadas por procedimientos. 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::writeAttribute() - Escribe un atributo completo
- XMLWriter::startAttribute() - Crea un atributo inicial
- XMLWriter::startAttributeNS() - Crea el atributo de inicio del namespaced
- XMLWriter::endAttribute() - Fin del atributo