★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.xml-set-notation-decl-handler.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_set_notation_decl_handler
View the source code for this pageSearch the site



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


xml_set_notation_decl_handler

(PHP3 >= 3.0.6, PHP4 )

xml_set_notation_decl_handler -- 表記法宣言ハンドラを設定する

説明

int xml_set_notation_decl_handler (int parser, string handler)

XML パーサ parser の表記法宣言用ハンドラ関数 を設定します。 handler は、 parser に関して xml_parse() がコールされた際に必要な関数の名前を有する文字列です。

表記法の宣言は、ドキュメントの DTD の部分であり、次のようなフォーマット を有しています。
<!NOTATION name {systemId | publicId}>
表記法宣言の定義に関しては、 XML 1.0 仕様の 4.7 節 を参照下さい。

handler という名前の関数は、5つのパラメータを とります。

handler (int parser, string notationName, string base, string systemId, string publicId)

parser

最初のパラメータ、parser は ハンドラをコールする XML パーサへのリファレンスです。

notationName

これは、前記の表記用フォーマットに示すように 表記法の 名前 です。

base

外部エンティティのシステム ID (systemId) を 取得する際の基本となります。 現在、このパラメータは、常に空の文字列に設定されています。

systemId

外部表記用宣言のシステム ID

publicId

外部表記用宣言のパブリック ID

あるホンドラ関数が空の文字列または false に設定 されていた場合、そのハンドラは無効となります。

ハンドラが設定されている場合に TRUE、 parser がパーサでない場合に FALSE を返します。

オブジェクト/メソッド用ハンドラは現在サポートされていません。


 About Notes


Previous page
 xml_set_unparsed_entity_decl_handler
 Updated
Mon, 14 Aug 2000
xml_set_external_entity_ref_handler 
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.