Results of 1 - 10 of about 86 for nodeValue (0.007 sec.)
- インデックスで指定したノードを取得する 11131
- « DOMNodeList::getIterator DOMNotation » PHP Manual DOMNodeList インデックスで指定したノードを取得する 検索 DOMNodelist::item (PHP 5, PHP 7, PHP 8) DOMNodelist::item — インデックスで指定したノードを取得する 説明 public function DOMNodeList:
... s = $doc -> getElementsByTagName ( 'entry' ); for ( $i = 0 ; $i < $items -> length ; $i ++) { echo $items -> item ( $i )-> nodeValue . "\n" ; } ?> 例2 配列構文で要素にアクセスする <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-docbook.xml' ) ... ; $items = $doc -> getElementsByTagName ( 'entry' ); for ( $i = 0 ; $i < $items -> length ; $i ++) { echo $items [ $i ]-> nodeValue . "\n" ; } ?> 例3 foreach でアイテムを走査する <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-docbook.xml' ) ... ; $items = $doc -> getElementsByTagName ( 'entry' ); foreach ( $items as $item ) { echo $item -> nodeValue . "\n" ; } ?> 上の例の出力は以下となります。 Title Author Language ISBN The Grapes of Wrath John Steinbeck en 0140186409 T ...
-
https://man.mtool.work/php/8.3/domnodelist.item.html
- インデックスで指定したノードを取得する 11131
- « DOMNodeList::getIterator DOMNotation » PHP Manual DOMNodeList インデックスで指定したノードを取得する 検索 DOMNodelist::item (PHP 5, PHP 7, PHP 8) DOMNodelist::item — インデックスで指定したノードを取得する 説明 public function DOMNodeList:
... s = $doc -> getElementsByTagName ( 'entry' ); for ( $i = 0 ; $i < $items -> length ; $i ++) { echo $items -> item ( $i )-> nodeValue . "\n" ; } ?> 例2 配列構文で要素にアクセスする <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-docbook.xml' ) ... ; $items = $doc -> getElementsByTagName ( 'entry' ); for ( $i = 0 ; $i < $items -> length ; $i ++) { echo $items [ $i ]-> nodeValue . "\n" ; } ?> 例3 foreach でアイテムを走査する <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book-docbook.xml' ) ... ; $items = $doc -> getElementsByTagName ( 'entry' ); foreach ( $items as $item ) { echo $item -> nodeValue . "\n" ; } ?> 上の例の出力は以下となります。 Title Author Language ISBN The Grapes of Wrath John Steinbeck en 0140186409 T ...
-
https://man.mtool.work/php/8.3/domnodelist.item.html
- 与えられた XPath 式を評価する 10807
- « 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 ,
... $xpath -> query ( $query ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { $entry -> previousSibling -> nodeValue } \n" ; } ?> 上の例の出力は以下となります。 Found The Grapes of Wrath ... query ( $query , $tbody ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { $entry -> previousSibling -> nodeValue } \n" ; } ?> 参考 DOMXPath::evaluate() - 与えられた XPath 式を評価し、 ... y doc XPath 場合 entry コール previousSibling 評価 expression ノード バック tbody contextNode 空間 new xpath entries Found nodeValue ...
-
https://man.mtool.work/php/8.3/domxpath.query.html
- 与えられた XPath 式を評価する 10807
- « 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 ,
... $xpath -> query ( $query ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { $entry -> previousSibling -> nodeValue } \n" ; } ?> 上の例の出力は以下となります。 Found The Grapes of Wrath ... query ( $query , $tbody ); foreach ( $entries as $entry ) { echo "Found { $entry -> previousSibling -> previousSibling -> nodeValue } ," . " by { $entry -> previousSibling -> nodeValue } \n" ; } ?> 参考 DOMXPath::evaluate() - 与えられた XPath 式を評価し、 ... ワード: DOMXPath query XPath entry previousSibling 評価 expression ノード バック tbody contextNode 空間 xpath entries Found nodeValue 相対 クエリ 登録 book evaluate registerNodeNS root スコープ プレフィックス ...
-
https://man.mtool.work/php/8.3/domxpath.query.html
- PHP の関数を XPath 関数として登録する 10012
- « DOMXPath::registerPhpFunctionNS Dom\AdjacentPosition » PHP Manual DOMXPath PHP の関数を XPath 関数として登録する 検索 DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数と
... starting with 'PHP':\n" ; foreach ( $nodes as $node ) { $title = $node -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue ; $author = $node -> getElementsByTagName ( "author" )-> item ( 0 )-> nodeValue ; echo " $title by $author \n" ; } ?> 上の ... ks with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 例4 DOMXPath::regist ... ks with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 参考 DOMXPath::regis ...
-
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html
- Specify application credentials 9851
- « Zookeeper Zookeeper::close » PHP Manual Zookeeper Specify application credentials 検索 Zookeeper::addAuth (PECL zookeeper >= 0.1.0) Zookeeper::addAuth — Specify application credentials 説明 public function Zookeeper::addAuth ( string $sch
... , this method emits ZookeeperException and its derivatives. 例 例1 Zookeeper::addAuth() example Add auth before requesting node value. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $path = '/path/to/node' ; $value = 'nodevalue' ; $zookeeper -> se ... ser0:passwd0' ); $r = $zookeeper -> get ( $path ); if ( $r ) echo $r ; else echo 'ERR' ; ?> 上の例の出力は以下となります。 nodevalue 参考 Zookeeper::create() - Create a node synchronously Zookeeper::setAcl() - Sets the acl associated with a node synchrono ... completion synchronously cert server parameter connection request failed digest operation method emits ZookeeperException nodevalue associated ...
-
https://man.mtool.work/php/8.3/zookeeper.addauth.html
- DOMNameSpaceNode クラス 9527
- « DOMNamedNodeMap::item DOMNameSpaceNode::__sleep » PHP Manual DOM DOMNameSpaceNode クラス 検索 DOMNameSpaceNode クラス (PHP 5, PHP 7, PHP 8) クラス概要 class DOMNameSpaceNode { /* プロパティ */ public readonly string $ nodeName ; public re
... adonly ? string $ nodeValue ; public readonly int $ nodeType ; public readonly string $ prefix ; public readonly ? string $ localName ; public readonl ... * メソッド */ public function __sleep (): array public function __wakeup (): void } プロパティ nodeName このノードの修飾名 nodeValue このノードが宣言している名前空間URI。 名前空間が空の場合は、 null nodeType ノードのタイプ。 XML_NAMESPACE_DECL_NODE になり ... DOMNameSpaceNode string 場合 null クラス 空間 sleep prefix isConnected DOMDocument parentElement 宣言 プロパティ nodeName nodeValue nodeType localName namespaceURI ...
-
https://man.mtool.work/php/8.3/class.domnamespacenode.html
- DOMNameSpaceNode クラス 9527
- « DOMNamedNodeMap::item DOMNameSpaceNode::__sleep » PHP Manual DOM DOMNameSpaceNode クラス 検索 DOMNameSpaceNode クラス (PHP 5, PHP 7, PHP 8) クラス概要 class DOMNameSpaceNode { /* プロパティ */ public readonly string $ nodeName ; public re
... adonly ? string $ nodeValue ; public readonly int $ nodeType ; public readonly string $ prefix ; public readonly ? string $ localName ; public readonl ... * メソッド */ public function __sleep (): array public function __wakeup (): void } プロパティ nodeName このノードの修飾名 nodeValue このノードが宣言している名前空間URI。 名前空間が空の場合は、 null nodeType ノードのタイプ。 XML_NAMESPACE_DECL_NODE になり ... ーワード: ノード readonly DOMNameSpaceNode 空間 sleep prefix isConnected DOMDocument parentElement 宣言 プロパティ nodeName nodeValue nodeType localName namespaceURI ownerDocument parentNode wakeup 修飾 該当 サブクラス シリアライズ 実装 禁止 ...
-
https://man.mtool.work/php/8.3/class.domnamespacenode.html
- Gets the data associated with a node synchronously 9527
- « Zookeeper::exists Zookeeper::getAcl » PHP Manual Zookeeper Gets the data associated with a node synchronously 検索 Zookeeper::get (PECL zookeeper >= 0.1.0) Zookeeper::get — Gets the data associated with a node synchronously 説明 public fu
... () example Get value from node. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $path = '/path/to/node' ; $value = 'nodevalue' ; $zookeeper -> set ( $path , $value ); $r = $zookeeper -> get ( $path ); if ( $r ) echo $r ; else echo 'ERR' ; ?> 上の例 ... の出力は以下となります。 nodevalue 例2 Zookeeper::get() stat example Get node stat info. <?php $zookeeper = new Zookeeper ( 'localhost:2181' ); $path = '/pat ... h stat zookeeper float associated Gets synchronously size method watcher return emits ZookeeperException example localhost nodevalue exists getAcl callable Expressed slashes separating ancestors ...
-
https://man.mtool.work/php/8.3/zookeeper.get.html
- PHP の関数を XPath 関数として登録する 8880
- « DOMXPath::registerPhpFunctionNS Dom\AdjacentPosition » PHP Manual DOMXPath PHP の関数を XPath 関数として登録する 検索 DOMXPath::registerPhpFunctions (PHP 5 >= 5.3.0, PHP 7, PHP 8) DOMXPath::registerPhpFunctions — PHP の関数を XPath 関数と
... starting with 'PHP':\n" ; foreach ( $nodes as $node ) { $title = $node -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue ; $author = $node -> getElementsByTagName ( "author" )-> item ( 0 )-> nodeValue ; echo " $title by $author \n" ; } ?> 上の ... ks with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 例4 DOMXPath::regist ... ks with multiple authors:\n" ; foreach ( $books as $book ) { echo $book -> getElementsByTagName ( "title" )-> item ( 0 )-> nodeValue . "\n" ; } ?> 上の例の出力は、 たとえば以下のようになります。 Books with multiple authors: PHP Basics 参考 DOMXPath::regis ...
-
https://man.mtool.work/php/8.3/domxpath.registerphpfunctions.html