| Manuál PHP | ||
|---|---|---|
| PÅ™edcházejÃcà | Dalšà | |
xml_parse
Popis
int xml_parse ( resource parser, string data [, bool is_final] )xml_parse() parses an XML document. The handlers for the configured events are called as many times as necessary.
Seznam parametrů
parserA reference to the XML parser to use.
dataChunk of data to parse. A document may be parsed piece-wise by calling xml_parse() several times with new data, as long as the
is_finalparameter is set and TRUE when the last data is parsed.is_finalIf set and TRUE,
datais the last piece of data sent in this parse.
Návratové hodnoty
Returns 1 on success or 0 on failure.
For unsuccessful parses, error information can be retrieved with xml_get_error_code(), xml_error_string(), xml_get_current_line_number(), xml_get_current_column_number() and xml_get_current_byte_index().
Poznámka: Entity errors are reported at the end of the data thus only if
is_finalis set and TRUE.
| PÅ™edcházejÃcà | Domů | Dalšà |
| xml_parse_into_struct | Nahoru |