The outcome of this function is heavily dependent on the parser implementation used. For example, at the point where the start_element_ callback is called, libxml2 parser consumes the entire element name and attributes, however expat does not.
xml_get_current_byte_index
(PHP 4, PHP 5)
xml_get_current_byte_index — obtiene el índice del byte actual para un analizador XML
Descripción
int xml_get_current_byte_index
( int $parser
)
- parser
- Una referencia al analizador XML del que obtener el índice del byte.
Esta función devuelve FALSE si parser no referencia un analizador válido, o si no devuelve en qué índice de byte se encuentra el buffer de datos del analizador (empezando en 0).
xml_get_current_byte_index
turan dot yuksel at tcmb dot gov dot tr
20-Sep-2005 06:38
20-Sep-2005 06:38
