XMLWriter::startAttributeNS
xmlwriter_start_attribute_ns
(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
XMLWriter::startAttributeNS -- xmlwriter_start_attribute_ns — Crea el atributo de inicio del namespaced
Descripción
Estilo orientado a objetos
bool XMLWriter::startAttributeNS
( string
$prefix
, string $name
, string $uri
)Estilo por procedimientos
bool xmlwriter_start_attribute_ns
( resource
$xmlwriter
, string $prefix
, string $name
, string $uri
)Inicia un atributo de namespaced.
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 atributo del nombre.
-
uri -
El URI del namespaced.
Valores devueltos
Devuelve TRUE en caso de éxito o FALSE en caso de error.
Ver también
- XMLWriter::startAttribute() - Crea un atributo inicial
- XMLWriter::endAttribute() - Fin del atributo
- XMLWriter::writeAttribute() - Escribe un atributo completo
- XMLWriter::writeAttributeNS() - Escribe un atributo full de namespaced