DomNode->get_contentとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > DomNode->get_contentの意味・解説 

DomNode->get_content

(No version information available, might be only in CVS)
DomNode->get_content — ノードの内容を取得する

説明

string DomNode->get_content ( void )
この関数は実ノードの内容を返します。
例 537. 内容を取得する
<?php
if (!$dom = domxml_open_mem($xmlstr)) {
  echo "Error while parsing the document\n";
  exit;
}

$root = $dom->document_element();

$node_array = $root->get_elements_by_tagname("element");

for ($i = 0; $i<count($node_array); $i++) {
   $node = $node_array[$i];
   echo "The element[$i] is: " . $node->get_content();
}

?>




このページでは「PHP関数リファレンス」からDomNode->get_contentを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDomNode->get_contentを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDomNode->get_contentを検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「DomNode->get_content」の関連用語

DomNode->get_contentのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DomNode->get_contentのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2024 by the PHP Documentation Group.

©2024 GRAS Group, Inc.RSS