我想知道如何提取特定标签下的所有元素。 例如:
void function2(Event * const pointer)
{
pointer->event = 2;
}
我想将这些元素放在列表中
<div class="text">
<h2>...</h2>
<p>...</p>
<p>...</p>
<h2>...</h2>
</div>
我需要这个的原因,我想知道文本写在哪个类别(标题)并提取文本。
答案 0 :(得分:0)
BUILD SUCCESSFUL
Total time: 33.858 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html
Running /opt/android-sdk-linux/platform-tools/adb -s a258d496 reverse tcp:8081 tcp:8081
adb server version (36) doesn't match this client (39); killing...
* daemon started successfully *
error: closed
Could not run adb reverse: Command failed: /opt/android-sdk-linux/platform-tools/adb -s a258d496 reverse tcp:8081 tcp:8081
Starting the app on a258d496 (/opt/android-sdk-linux/platform-tools/adb -s a258d496 shell am start -n com.samplecode/com.samplecode.MainActivity)...
Starting: Intent { cmp=com.samplecode/.MainActivity }