当前位置:网站首页>[XPath] use following sibling to obtain the following peer nodes
[XPath] use following sibling to obtain the following peer nodes
2022-06-10 22:33:00 【micromicrofat】
Below html Code as an example , Try to use xpath extract “2022 year 06 month 07 Japan ”
<div class="news_body">
<ul class="news_tel_z">
<div class="news_tel">
2022 year 6 month 7 Japan
</div>
<div class="news_tel_2" style="height: auto">
<div class="news_laiyuan"> source :
</div> Apple
<div class="news_laiyuan2">
Update time :
</div>
2022 year 06 month 07 Japan
<br>
<div class="news_laiyuan"> keyword :
</div>WWDC 2022
</div>
<div class="news_tex" style="margin-top: 10px;">
<div style="background-color: #EAF0F2; margin: 6px 0px; padding: 15px; border: solid 1px #95B2C0; line-height: 24px; overflow: auto;">
<p style="text-indent:2em;">
</p>
</div>
<p style="color:#9e9e9f; padding-top:8px; padding-left:5px;">
</p>
</div>
</ul>
</div>


The key point is to use “following-sibling” Extract the following sibling nodes
Reference resources :http://xpather.com/
边栏推荐
猜你喜欢

Model construction of mmdetection

Visio to high quality pdf

Latex error: file ‘xxx.sty‘ not found

C use s7 Net connected to Siemens s1200plc, C # directly connected to Siemens PLC

KDD2022 | 基于对抗性知识蒸馏的深度图神经网络压缩

鲸会务智慧景区管理解决方案
![Add, delete, query and modify [MySQL] table data (DML)](/img/08/4239bc0486fe8db2e98e54919300b5.png)
Add, delete, query and modify [MySQL] table data (DML)

Sealem finance builds Web3 decentralized financial platform infrastructure

ICML2022 | Sharp-MAML:锐度感知的模型无关元学习

【Xpath】使用following-sibling获取后面的同级节点
随机推荐
自己搞了一个相亲软件的源码,用兴趣的可以聊聊
手机号码更新不出来,怎么处理
C语言判断文件或文件夹是否存在
Tcapulusdb Jun · industry news collection (V)
Simply Untyped Lambda Calculus的实现
How small and micro enterprises build micro official websites at low cost
Solution de gestion de la zone pittoresque intelligente pour la réunion des baleines
How can small and medium-sized conferences be upgraded digitally?
数组 从指定长度位旋转数组
leetcode:333. 最大 BST 子树
数组 两个数组的交集 II
Kdd2022 | neural network compression of depth map based on antagonistic knowledge distillation
Ability to deliver packages within D days [abstract class dichotomy -- Abstract judgment method]
Array rotates the array from bits of the specified length
【phpstorm】 No data sources are configured to run this SQL and provide advanced c
【TcaplusDB知识库】TcaplusDB查看进程状态介绍
数组 只出现一次的数字
Whether there are duplicate elements in the array
数组 求上升区间的高度和
Add, delete, query and modify MySQL table structure (DDL)