Results of 1 - 10 of about 73 for firstChild (0.004 sec.)
- The CommonMark\CQL class | PHP 8.3 16349
- The CommonMark\CQL class (cmark >= 1.1.0) はじめに CommonMark Query Language is a DSL for describing how to travel through a CommonMark Node tree implemented as a parser and compiler for a small set of instructions, and a virtual machine fo
... ths: In its most simplistic form, a CQL query combines the following paths and / to describe how to travel through a tree: firstChild lastChild previous next parent For example, /firstChild/lastChild would travel to the last child node of the first child n ... xample through the children of, or siblings to a particular node, by using the path children , or siblings . For example, /firstChild/children will travel to all the children of the first child node. Subqueries CQL can be instructed how to travel by using ... a subquery like [/firstChild] . For example, /firstChild/children[/firstChild] will travel to the first child node of all the children of the first chi ...
-
https://man.mtool.work/php/8.3/class.commonmark-cql.html
- DOMNamedNodeMap::getNamedItem — 名前で指定されたノードを取得する | PHP 8.3 13484
- DOMNamedNodeMap::getNamedItem (PHP 5, PHP 7, PHP 8) DOMNamedNodeMap::getNamedItem — 名前で指定されたノードを取得する 説明 public function DOMNamedNodeMap::getNamedItem ( string $qualifiedName ): ? DOMNode nodeName で指定されたノードを取得し
... します。 例 例1 ノード上の属性を取得する <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book.xml' ); $id = $doc -> firstChild -> nextSibling -> nextSibling -> firstChild -> nextSibling -> attributes -> getNamedItem ( 'id' ); ?> 例2 配列構文で属性に ... アクセスする <?php $doc = new DOMDocument ; $doc -> load ( 'examples/book.xml' ); $id = $doc -> firstChild -> nextSibling -> nextSibling -> firstChild -> nextSibling -> attributes [ 'id' ]; ?> 参考 DOMNamedNodeMap::getNamedItemNS ...
-
https://man.mtool.work/php/8.3/domnamednodemap.getnameditem.html
- XSLTProcessor::transformToDoc — ドキュメント に変換する | PHP 8.3 7769
- XSLTProcessor::transformToDoc (PHP 5, PHP 7, PHP 8) XSLTProcessor::transformToDoc — ドキュメント に変換する 説明 public function XSLTProcessor::transformToDoc ( object $document , ? string $returnClass = null ): DOMDocument | false XSLTProc
... XSLTProcessor ; $proc -> importStyleSheet ( $xsl ); // XSL ルールを適用する echo trim ( $proc -> transformToDoc ( $xml )-> firstChild -> wholeText ); ?> 上の例の出力は以下となります。 Hey! Welcome to Nicolas Eliaszewicz's sweet CD collection! 例2 Dom\Docum ... XSLTProcessor ; $proc -> importStyleSheet ( $xsl ); // XSL ルールを適用する echo trim ( $proc -> transformToDoc ( $xml )-> firstChild -> wholeText ); ?> 上の例の出力は以下となります。 Hey! Welcome to Nicolas Eliaszewicz's sweet CD collection! 参考 XSLTProc ...
-
https://man.mtool.work/php/8.3/xsltprocessor.transformtodoc.html
- Dom\Node クラス | PHP 8.3 7434
- Dom\Node クラス (PHP 8 >= 8.4.0) はじめに このクラスは、 DOMNode と同等ですが、 モダンかつ仕様に準拠しています。 クラス概要 class Dom\Node { /* 定数 */ public const int DOCUMENT_POSITION_DISCONNECTED = 0x1 ; public const int DOCUMENT_POSITI
... ; public readonly ? Dom\Element $ parentElement ; public readonly Dom\NodeList $ childNodes ; public readonly ? Dom\Node $ firstChild ; public readonly ? Dom\Node $ lastChild ; public readonly ? Dom\Node $ previousSibling ; public readonly ? Dom\Node $ nex ... 合は null を返す childNodes このノードの全ての子を含む Dom\NodeList 。 子が存在しない場合は、空の Dom\NodeList になります。 firstChild このノードの最初の子。存在しない場合は null を返す lastChild このノードの最後の子。存在しない場合は null を返す previousSi ...
-
https://man.mtool.work/php/8.3/class.dom-node.html
- BlockQuote concrete CommonMark\Node | PHP 8.3 7098
- BlockQuote concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\BlockQuote extends CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $ par
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-blockquote.html
- BulletList concrete CommonMark\Node | PHP 8.3 7098
- BulletList concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\BulletList extends CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $ par
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-bulletlist.html
- Code concrete CommonMark\Node | PHP 8.3 7098
- Code concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\Code extends CommonMark\Node\Text implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $ parent ; p
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-code.html
- CustomBlock concrete CommonMark\Node | PHP 8.3 7098
- CustomBlock concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\CustomBlock extends CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $ p
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-customblock.html
- CustomInline concrete CommonMark\Node | PHP 8.3 7098
- CustomInline concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\CustomInline extends CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-custominline.html
- Document concrete CommonMark\Node | PHP 8.3 7098
- Document concrete CommonMark\Node (cmark >= 1.0.0) クラス概要 final class CommonMark\Node\Document extends CommonMark\Node implements CommonMark\Interfaces\IVisitable , Traversable { /* 継承したプロパティ */ public readonly ? Node $ parent
... readonly ? Node $ previous ; public readonly ? Node $ next ; public readonly ? Node $ lastChild ; public readonly ? Node $ firstChild ; public readonly int $ startLine ; public readonly int $ endLine ; public readonly int $ startColumn ; public readonly in ...
-
https://man.mtool.work/php/8.3/class.commonmark-node-document.html