« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for tbody (0.002 sec.)
与えられた XPath 式を評価する 11125
« DOMXPath::evaluate DOMXPath::quote » PHP Manual DOMXPath 与えられた XPath 式を評価する 検索 DOMXPath::query (PHP 5, PHP 7, PHP 8) DOMXPath::query — 与えられた XPath 式を評価する 説明 public function DOMXPath::query ( string $expression , ... book.xml' ); $xpath = new DOMXPath ( $doc ); // root 要素から開始します $query = '//book/chapter/para/informaltable/tgroup/tbody/row/entry[. = "en"]' ; $entries = $xpath -> query ( $query ); foreach ( $entries as $entry ) { echo "Found { $entry -> pre ... ment ; $doc -> preserveWhiteSpace = false ; $doc -> load ( 'examples/book-docbook.xml' ); $xpath = new DOMXPath ( $doc ); $tbody = $doc -> getElementsByTagName ( 'tbody' )-> item ( 0 ); // tbody ノードからの相対クエリです $query = 'row/entry[. = "en"] ... ' ; $entries = $xpath -> query ( $query , $tbody ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { ...
https://man.mtool.work/php/8.3/domxpath.query.html
与えられた XPath 式を評価する 11125
« DOMXPath::evaluate DOMXPath::quote » PHP Manual DOMXPath 与えられた XPath 式を評価する 検索 DOMXPath::query (PHP 5, PHP 7, PHP 8) DOMXPath::query — 与えられた XPath 式を評価する 説明 public function DOMXPath::query ( string $expression , ... book.xml' ); $xpath = new DOMXPath ( $doc ); // root 要素から開始します $query = '//book/chapter/para/informaltable/tgroup/tbody/row/entry[. = "en"]' ; $entries = $xpath -> query ( $query ); foreach ( $entries as $entry ) { echo "Found { $entry -> pre ... ment ; $doc -> preserveWhiteSpace = false ; $doc -> load ( 'examples/book-docbook.xml' ); $xpath = new DOMXPath ( $doc ); $tbody = $doc -> getElementsByTagName ( 'tbody' )-> item ( 0 ); // tbody ノードからの相対クエリです $query = 'row/entry[. = "en"] ... ' ; $entries = $xpath -> query ( $query , $tbody ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { ...
https://man.mtool.work/php/8.3/domxpath.query.html
与えられた XPath 式を評価し、可能であれば結果を返す 10648
« DOMXPath::__construct DOMXPath::query » PHP Manual DOMXPath 与えられた XPath 式を評価し、可能であれば結果を返す 検索 DOMXPath::evaluate (PHP 5 >= 5.1.0, PHP 7, PHP 8) DOMXPath::evaluate — 与えられた XPath 式を評価し、可能であれば結果を返す ... の数を取得する <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-dcobook.xml' ); $xpath = new DOMXPath ( $doc ); $tbody = $doc -> getElementsByTagName ( 'tbody' )-> item ( 0 ); // tbody ノードを基準とした相対クエリとなります $query = 'count(r ... ow/entry[. = "en"])' ; $entries = $xpath -> evaluate ( $query , $tbody ); echo "There are $entries english books\n" ; ?> 上の例の出力は以下となります。 There are 2 english books 参考 DOMXPath:: ... た XPath 式を評価する 関連キーワード: DOMXPath XPath 場合 コール 結果 evaluate expression バック 評価 query ノード 空間 doc tbody contextNode 相対 クエリ 登録 function registerNodeNS ...
https://man.mtool.work/php/8.3/domxpath.evaluate.html
与えられた XPath 式を評価し、可能であれば結果を返す 10524
« DOMXPath::__construct DOMXPath::query » PHP Manual DOMXPath 与えられた XPath 式を評価し、可能であれば結果を返す 検索 DOMXPath::evaluate (PHP 5 >= 5.1.0, PHP 7, PHP 8) DOMXPath::evaluate — 与えられた XPath 式を評価し、可能であれば結果を返す ... の数を取得する <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-dcobook.xml' ); $xpath = new DOMXPath ( $doc ); $tbody = $doc -> getElementsByTagName ( 'tbody' )-> item ( 0 ); // tbody ノードを基準とした相対クエリとなります $query = 'count(r ... ow/entry[. = "en"])' ; $entries = $xpath -> evaluate ( $query , $tbody ); echo "There are $entries english books\n" ; ?> 上の例の出力は以下となります。 There are 2 english books 参考 DOMXPath:: ... query() - 与えられた XPath 式を評価する 関連キーワード: DOMXPath XPath evaluate expression バック 評価 query ノード 空間 tbody contextNode 相対 クエリ 登録 registerNodeNS 基準 スコープ プレフィックス xpath entries There english books construct DOMNo ...
https://man.mtool.work/php/8.3/domxpath.evaluate.html
例 9816
« 定義済み定数 DOMAttr » PHP Manual DOM 例 検索 例 このリファレンスの多くの例で、XMLファイルが必要です。 私たちは、次のような形式の book.xml を使用します。 例1 book.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS/ ... "4"> <thead> <row> <entry>Title</entry> <entry>Author</entry> <entry>Language</entry> <entry>ISBN</entry> </row> </thead> <tbody> <row> <entry>The Grapes of Wrath</entry> <entry>John Steinbeck</entry> <entry>en</entry> <entry>0140186409</entry> </row> ... alouf</entry> <entry>fr</entry> <entry>2253051209</entry> </row> <!-- TODO: I have a lot of remaining books to add.. --> </tbody> </tgroup> </informaltable> </para> </chapter> </book> 関連キーワード: entry row book xml title books open id My chapter p ... ara informaltable tgroup thead tbody John Steinbeck en 定数 Search ...
https://man.mtool.work/php/8.3/dom.examples.html
例 9692
« 定義済み定数 DOMAttr » PHP Manual DOM 例 検索 例 このリファレンスの多くの例で、XMLファイルが必要です。 私たちは、次のような形式の book.xml を使用します。 例1 book.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE book PUBLIC "-//OASIS/ ... "4"> <thead> <row> <entry>Title</entry> <entry>Author</entry> <entry>Language</entry> <entry>ISBN</entry> </row> </thead> <tbody> <row> <entry>The Grapes of Wrath</entry> <entry>John Steinbeck</entry> <entry>en</entry> <entry>0140186409</entry> </row> ... alouf</entry> <entry>fr</entry> <entry>2253051209</entry> </row> <!-- TODO: I have a lot of remaining books to add.. --> </tbody> </tgroup> </informaltable> </para> </chapter> </book> 関連キーワード: entry book title books chapter para informaltable t ... group thead tbody John Steinbeck 定数 DOMAttr リファレンス encoding DocBook oasis docbook docbookx listing lists cols Title Author ...
https://man.mtool.work/php/8.3/dom.examples.html
この色と別の色の差を調べる 8401
« ImagickPixel::isPixelSimilarQuantum ImagickPixel::setColor » PHP Manual ImagickPixel この色と別の色の差を調べる 検索 ImagickPixel::isSimilar (PECL imagick 2, PECL imagick 3) ImagickPixel::isSimilar — この色と別の色の差を調べる 説明 public ... lor 1 </th> <th> Color 2 </th> <th> Test distance * 255 </th> <th> Is within distance </th> </tr> </thead>" ; $output .= "<tbody>" ; foreach ( $tests as $testInfo ) { $color1 = $testInfo [ 0 ]; $color2 = $testInfo [ 1 ]; $distance = $testInfo [ 2 ]; $ ... </td> </tr>" ; $output .= sprintf ( $layout , $color1 , $color2 , $distance , $isSimilar ? 'yes' : 'no' ); } $output .= "</tbody></table>" ; return $output ; ?> 関連キーワード: color ImagickPixel root distance isSimilar rgba output testInfo Pixel fuzz ... tests Color testDistance imagick isPixelSimilar black table thead within tbody expectation layout isPixelSimilarQuantum setColor float ...
https://man.mtool.work/php/8.3/imagickpixel.issimilar.html
この色と別の色の差を調べる 7464
« ImagickPixel::isPixelSimilarQuantum ImagickPixel::setColor » PHP Manual ImagickPixel この色と別の色の差を調べる 検索 ImagickPixel::isSimilar (PECL imagick 2, PECL imagick 3) ImagickPixel::isSimilar — この色と別の色の差を調べる 説明 public ... lor 1 </th> <th> Color 2 </th> <th> Test distance * 255 </th> <th> Is within distance </th> </tr> </thead>" ; $output .= "<tbody>" ; foreach ( $tests as $testInfo ) { $color1 = $testInfo [ 0 ]; $color2 = $testInfo [ 1 ]; $distance = $testInfo [ 2 ]; $ ... </td> </tr>" ; $output .= sprintf ( $layout , $color1 , $color2 , $distance , $isSimilar ? 'yes' : 'no' ); } $output .= "</tbody></table>" ; return $output ; ?> 関連キーワード: rgb color ImagickPixel root true distance th td isSimilar false rgba outpu ...
https://man.mtool.work/php/8.3/imagickpixel.issimilar.html
XML 外部エンティティの例 7216
« XMLタグのマッピングの例 クラスを使ってXMLをパースする » PHP Manual 例 XML 外部エンティティの例 検索 XML 外部エンティティの例 この例は、XML コードに焦点を当てます。この例は、他のドキュメント をインクルードし処理するための外部エンティティリ ... temEntity SYSTEM "xmltest2.xml"> ]> <chapter> <TITLE>Title &plainEntity;</TITLE> <para> <informaltable> <tgroup cols="3"> <tbody> <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> <row><entry>a2</entry><entry>c2</entry></row> ... <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> </tbody> </tgroup> </informaltable> </para> &systemEntity; <section id="about"> <title>About this Document</title> <para> <!-- thi ...
https://man.mtool.work/php/8.3/example.xml-external-entity.html
XML 外部エンティティの例 7216
« XMLタグのマッピングの例 クラスを使ってXMLをパースする » PHP Manual 例 XML 外部エンティティの例 検索 XML 外部エンティティの例 この例は、XML コードに焦点を当てます。この例は、他のドキュメント をインクルードし処理するための外部エンティティリ ... temEntity SYSTEM "xmltest2.xml"> ]> <chapter> <TITLE>Title &plainEntity;</TITLE> <para> <informaltable> <tgroup cols="3"> <tbody> <row><entry>a1</entry><entry morerows="1">b1</entry><entry>c1</entry></row> <row><entry>a2</entry><entry>c2</entry></row> ... <row><entry>a3</entry><entry>b3</entry><entry>c3</entry></row> </tbody> </tgroup> </informaltable> </para> &systemEntity; <section id="about"> <title>About this Document</title> <para> <!-- thi ...
https://man.mtool.work/php/8.3/example.xml-external-entity.html
PREV 1 2 NEXT