How does one retrieve the text in a node without selecting the text in the children?
Editor\'s Descrip 3条回答 太阳男子 (楼主) 2021-01-30 13:29 How about this : $doc/node()[3]/text() Assuming $doc has the xml. 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
How about this : $doc/node()[3]/text() Assuming $doc has the xml.
$doc/node()[3]/text()