★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.xml-parse.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to XML
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
XML
* xml_parser_create
* xml_set_object
* xml_set_element_handler
* xml_set_character_data_handler
* xml_set_processing_instruction_handler
* xml_set_default_handler
* xml_set_unparsed_entity_decl_handler
* xml_set_notation_decl_handler
* xml_set_external_entity_ref_handler
* xml_parse
* xml_get_error_code
* xml_error_string
* xml_get_current_line_number
* xml_get_current_column_number
* xml_get_current_byte_index
* xml_parser_free
* xml_parser_set_option
* xml_parser_get_option
* utf8_decode
* utf8_encode
Manual: xml_parse
View the source code for this pageSearch the site



Previous page
 xml_set_external_entity_ref_handler
 Updated
Mon, 14 Aug 2000
xml_get_error_code 
Next page


xml_parse

(PHP3 >= 3.0.6, PHP4 )

xml_parse -- XML ドキュメントの処理を開始する

説明

int xml_parse (int parser, string data [, int isFinal])

parser

使用する XML パーサへのリファレンス

data

処理するデータ。 ドキュメントは、 isFinal パラメータが設定され、 最後のデータが処理され TRUE になるまで、 新規のデータに関して複数回 xml_parse() を コールすることにより、部分毎で処理することが可能です。

isFinal (optional)

TRUE が設定された場合、data は この処理の間に送られた最後のデータということになります。

XML ドキュメントが処理された際、必要な回数だけ設定されたイベントのハンドラ がコールされます。 この後、この関数は TRUE または FALSE を返します。

処理が成功した場合、TRUE が返され、成功しなかった場合、 または、parser が有効なパーサを参照できなかった 場合には FALSE が返されます。 処理が成功しなかった場合、エラー情報を xml_get_error_code(), xml_error_string(), xml_get_current_line_number(), xml_get_current_column_number(), xml_get_current_byte_index() により取得可能です。


 About Notes


Previous page
 xml_set_external_entity_ref_handler
 Updated
Mon, 14 Aug 2000
xml_get_error_code 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.