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 — Restituisce il corrente indice di posizione per un parser XML
Descrizione
int xml_get_current_byte_index
( resource $parser
)
- parser
- Il riferimento al parser XML da cui si vuole ottenere la posizione.
Questa funzione restituisce FALSE se parser non si riferisce ad un parser valido, altrimenti la funzione restituisce in quale byte si trova attualmente il parser nel buffer dei dati (partendo da 0).
xml_get_current_byte_index
turan dot yuksel at tcmb dot gov dot tr
20-Sep-2005 12:38
20-Sep-2005 12:38
