DomDocument->create_processing_instruction

(no version information, might be only in CVS)

DomDocument->create_processing_instruction -- 新規 PI ノードを作成する

説明

domprocessinginstruction DomDocument->create_processing_instruction ( string content )

この関数は DomCData クラスの新規インスタンスを返します。 PI の内容は渡されたパラメータの値です。このノードは、domnode_append_child() などで挿入されない限り、ドキュメント内に現われません。

エラーが発生した場合、戻り値は FALSE です。

domnode_append_child(), domdocument_create_element(), domdocument_create_text(), domdocument_create_cdata_section(), domdocument_create_attribute(), domdocument_create_entity_reference(), domnode_insert_before() も参照ください。