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