Note that there are some explanatory texts on larger screens.

plurals
  1. POiphone ,how to get this label?
    primarykey
    data
    text
    <pre><code>&lt;div&gt; &lt;p&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(0); return false;"&gt;A few years ago,&lt;/a&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(2000); return false;"&gt;I felt like I was stuck in a rut,&lt;/a&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(5000); return false;"&gt;so I decided to follow in the footsteps&lt;/a&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(7000); return false;"&gt;of the great American philosopher, Morgan Spurlock,&lt;/a&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(10000); return false;"&gt;and try something new for 30 days.&lt;/a&gt; &lt;/p&gt; &lt;/div&gt; </code></pre> <p>this is a part of web code .</p> <p>i want to know how to get the text in label . such as:"A few years ago,"</p> <p>i can get text in <code>"&lt;a&gt; text &lt;/a&gt;",</code> </p> <p>but i do not know how to get "A few years ago," in label of <code>"&lt;a href="#" class="transcriptLink" onclick="seekVideo(0); return false;"&gt;A few years ago,&lt;/a&gt; "</code></p> <pre><code>&lt;a href="#" class="transcriptLink" onclick="seekVideo(0); return false;"&gt; &lt;a href="#" class="transcriptLink" onclick="seekVideo(2000); return false;"&gt; .................... </code></pre> <p>there are different about only <code>onclick="seekVideo(....);</code></p> <p><code>/div/p/a[substring-before(substring-after(@onclick, '('), ')') = '0']/text()</code></p> <p>can get text like <code>"A few years ago";</code></p> <p>but now i want to get the number in <code>seekVideo(number)</code>???? </p> <p><code>/div/p/a[number(substring-before(substring-after(@onclick, '('), ')'))]</code></p> <p>is not right!!! </p> <p>eg: <code>&lt;a href="#" class="transcriptLink" onclick="seekVideo(2000); return false;"&gt;</code> </p> <p>i want to get "2000", how to do? </p> <p>sample project or code is better, thanks</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload