text
stringlengths
1
254
output
stringlengths
2
255
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
(no version information, might be only in CVS)
(no version information, might be only in CVS)
(PHP = 4.3 only) If no last child is found, NULL is returned.
Returns the last child of the node.
Prev
See also DomNode_first_child(), DomNode_next_sibling(), DomNode_previous_sibling().
This function returns the next sibling of the current node.
(no version information, might be only in CVS)
You can use this function to iterate over all children of a node as shown in the example.
This function returns the next sibling of the current node. If there is no next sibling it returns false. You can use this function to iterate over all children of a node as shown in the example.
Iterate over children
例 1Iterate over children
Prev
See also DomNode_previous_sibling().
(no version information, might be only in CVS)
(no version information, might be only in CVS)
The name has different meanings for the different types of nodes as illustrated in the following table.
Returns name of the node. The name has different meanings for the different types of nodes as illustrated in the following table.
name of entity reference
表 1Meaning of value
(no version information, might be only in CVS)
(no version information, might be only in CVS)
All possible types are listed in the table in the introduction.
Returns the type of the node. All possible types are listed in the table in the introduction.
(no version information, might be only in CVS)
(no version information, might be only in CVS)
The value has different meanings for the different types of nodes as illustrated in the following table.
Returns value of the node. The value has different meanings for the different types of nodes as illustrated in the following table.
entire content without target
表 1Meaning of value
(no version information, might be only in CVS)
(no version information, might be only in CVS)
The following example will create two identical lists of children.
This function returns the document the current node belongs to.
Finding the document of a node
The following example will create two identical lists of children.
Prev
例 1Finding the document of a node
DomNode - node_value
See also DomNode_insert_before().
(no version information, might be only in CVS)
(no version information, might be only in CVS)
(PHP = 4.3 only) If no parent is found, NULL is returned.
This function returns the parent node.
Example 1.
The following example will show two identical lists of children.
DomNode - owner_document
例 1Finding the document of a node
Returns the name space prefix of the node.
(no version information, might be only in CVS)
DomNode - previous_sibling
Returns the name space prefix of the node.
This function returns the previous sibling of the current node.
(no version information, might be only in CVS)
You can use this function to iterate over all children of a node as shown in the example.
This function returns the previous sibling of the current node.
Prev
See also DomNode_next_sibling().
This functions removes a child from a list of children.
(no version information, might be only in CVS)
If the child could be removed the functions returns the old child.
This functions removes a child from a list of children. If child cannot be removed or is not a child the function will return false. If the child could be removed the functions returns the old child.
Removing a child
例 1Removing a child
Prev
See also DomNode_append_child().
(PHP 4.2) This function replaces the child oldnode with the passed new node.
(no version information, might be only in CVS)
If the replacement succeds the old node is returned. (This behaviour is according to the W3C specs).
See also domnode_append_child()
Before the replacement newnode is copied if it has a parent to make sure a node which is already in the document will not be inserted a second time.
(no version information, might be only in CVS)
(PHP 4.3) This function replaces an existing node with the passed new node.
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Warning
(no version information, might be only in CVS)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Sets name of node.
(no version information, might be only in CVS)
Prev
Sets name of node.
DomNode - set_namespace
See also DomNode_node_name().
(no version information, might be only in CVS)
(no version information, might be only in CVS)
Prev
See also domdocument_create_element_ns(), domnode_add_namespace()
Warning
(no version information, might be only in CVS)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Warning
(no version information, might be only in CVS)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Warning
(no version information, might be only in CVS)
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
This function is EXPERIMENTAL.
(PHP 4 = 4.2.1)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
See also domdocument_add_root()
スクラッチから新規DOMドキュメントを作成し、返します。
DomXsltStylesheet - result_dump_mem
DomDocument_add_root() も参照下さい。
(PHP 4 = 4.2.1)
(PHP 4 = 4.2.1)
The file is accessed read-only.
この関数は、 filename という名前のファイルの 中のXMLドキュメントをパースし、クラス"Dom document"のオブジェクト を返します。このオブジェクトは上記リストと同じプロパティを有しま す。ファイルは、読み込みのみ可でアクセスされます。
?php if( !$dom = domxml_open_file("example.xml")) {echo "Error while parsing the document\n"; exit;} $root = $dom - document_element();?
例 1ファイルからXMLドキュメントをオープンする
Prev
domxml_open_mem(), domxml_new_doc() も参照下さい。
(PHP 4 = 4.2.1)
(PHP 4 = 4.2.1)
This function, domxml_open_file() or domxml_new_doc() must be called before any other function calls.
この関数は、 str のXMLドキュメントをパースし、 クラス"Dom document"のオブジェクトを返します。 このオブジェクトは、上のリストを示したプロパティを有しています。 この関数、 domxml_open_file() 、 domxml_new_doc() は、全ての他の関数をコールする 前にコールする必要があります。
?php include( "example.inc"); if(!$dom = domxml_open_mem($xmlstr)) {echo "Error while parsing the document\n"; exit;} $root = $dom - document_element();?
例 1文字列からXMLドキュメントをオープンする
Prev
domxml_open_file(), domxml_new_doc() も参照下さい。
Prev
(PHP 4 = 4.1.0)
This function returns the version of the XML library version currently used.
この関数は、現在使用されるXMLライブラリのバージョンを返します。
Use this function at your own risk.
(PHP 4 = 4.2.1)
This function is isolated from the other functions, which means you cannot access the tree with any of the other functions.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
However this function may be valuable if you want to read a file and investigate the content.
この関数は、 str のXMLドキュメントをパースし、 パース済のドキュメントとしてPHPオブジェクトのツリーを返します。他 の関数はこのツリーにはアクセスできないため、この関数は他の関数と 異なっています。例えばノードを追加する時のように、このツリーを修 正することには、現在XMLファイルとしてツリーをダンプする手段がない ため意味がありません。この関数は、ファイルを読み込んで定数を調べ たい場合には有用です。
This function is EXPERIMENTAL.
(PHP 4 = 4.2.0)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
This function is currently not documented; only the argument list is available.
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
See also domxsltstylesheet- process(), domxml_xslt_stylesheet(), domxml_xslt_stylesheet_file()
This function is EXPERIMENTAL.
(PHP 4 = 4.2.0)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
This function is currently not documented; only the argument list is available.
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
See also domxsltstylesheet- process(), domxml_xslt_stylesheet(), domxml_xslt_stylesheet_doc()
This function is EXPERIMENTAL.
(PHP 4 = 4.2.0)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
This function is currently not documented; only the argument list is available.
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
See also domxsltstylesheet- process(), domxml_xslt_stylesheet_file(), domxml_xslt_stylesheet_doc()
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
This function is currently not documented; only the argument list is available.
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Prev
See also domxml_xslt_stylesheet(), domxml_xslt_stylesheet_file(), domxml_xslt_stylesheet_doc()
Use this function at your own risk.
(no version information, might be only in CVS)
This function on the contrary honors xsl:output method=" html_BAR_text "and other output control directives.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Prev
例 1Saving the result of a XSLT transformation in a file
DomXsltStylesheet - result_dump_mem
See also domxml_xslt_result_dump_mem(), domxml_xslt_process()
Use this function at your own risk.
(no version information, might be only in CVS)
This function on the contrary honors xsl:output method=" html_BAR_text "and other output control directives.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Prev
例 1Outputting the result of a XSLT transformation
DomXsltStylesheet - result_dump_file
See also domxml_xslt_result_dump_file(), domxml_xslt_process()
Warning
(no version information, might be only in CVS)
Use this function at your own risk.
この関数は、 実験的 なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用して下さい。
Prev
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
Note:
この関数は、 floatval() のエイリアスです。
In older versions of PHP you' ll need to use this alias of the floatval() function, because floatval() wasn't yet available in that version.
注意 このエイリアスは、関数の名称変更に伴い削除されています。以前のバー ジョンのPHPでは、 floatval() がまだ利用できない ため、 floatval() のこのエイリアスを使用する必 要があります。
(PHP 3, PHP 4)
(PHP 3, PHP 4)
This pair is returned in a four-element array, with the keys 0, 1, key, and value.
配列 array から、次のキーと値のペアを返し、 配列カーソルを進めます。このペアは、4つの要素を持つ配列で、 それぞれの要素は 0, 1, key, value というキーを有 しています。要素 0 と key の各々は配列要素のキー名称を保持しており、 1 と value の各々はそのデータを保持しています。
If the internal pointer for the array points past the end of the array contents, each() returns FALSE.
配列の内部ポインタが、配列の最終要素以降を指す場合、 each() は FALSE を返します。