开发者

How get previousSibling and nextSibling

开发者 https://www.devze.com 2023-03-28 03:51 出处:网络
I have html: <hr> <p><font face=\"AvantGarde Bk BT\" style=\"font-size: 9pt\" color=\"#66FF33\">

I have html:

<hr>
<p><font face="AvantGarde Bk BT" style="font-size: 9pt" color="#66FF33">
(08/04/2006) Parallel Worlds are one of the featured artists in the
<a href="http://www.urband.net/radio/">Urban D radio</a>. there you can listen 
to many tracks from the 3 released cd albums.</font></p>
<hr>

I need get

1: (08/04/2006) Parallel Worlds are one of the featured artists in the

2: . there you can listen to many tracks from the 3 released cd albums.

I use http://simplehtmldom.sourceforge.net.

I get element $e->href this is开发者_StackOverflow <a href="http://www.urband.net/radio/">Urban D radio</a>


http://simplehtmldom.sourceforge.net/manual.htm#section_traverse

Then click 'Traverse the DOM tree'.

0

精彩评论

暂无评论...
验证码 换一张
取 消