私はiPhoneを初めて使用しますが、
<text>
ローカルページからタグのすべての値を取得し、.html
それを配列に格納したいと思います。
たとえば、:toc.html
は私のhtmlファイルです。このファイルから、<text>
タグのすべての値を取得します。
これが私のhtmlファイルです。
<navMap>
<navPoint class="chapter" id="navpoint-1" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="Morning Insight 26 April - K S 2/Morning Insight 26 April - K S 2/Morning Insight 26 April - K S/Morning Insight 26 April - K S/Morning Insight/OEBPS/first.html"/>
</navPoint>
<navPoint class="chapter" id="navpoint-2" playOrder="2">
<navLabel>
<text>News</text>
</navLabel>
<content src="Morning Insight 26 April - K S 2/Morning Insight 26 April - K S 2/Morning Insight 26 April - K S/Morning Insight 26 April - K S/Morning Insight/OEBPS/1.html"/>
</navPoint>
<navPoint class="chapter" id="navpoint-3" playOrder="3">
<navLabel>
<text>Report</text>
</navLabel>
<content src="Morning Insight 26 April - K S 2/Morning Insight 26 April - K S 2/Morning Insight 26 April - K S/Morning Insight 26 April - K S/Morning Insight/OEBPS/2.html"/>
</navPoint>
<navPoint class="chapter" id="navpoint-4" playOrder="4">
<navLabel>
<text>Economy Update</text>
</navLabel>
<content src="Morning Insight 26 April - K S 2/Morning Insight 26 April - K S 2/Morning Insight 26 April - K S/Morning Insight 26 April - K S/Morning Insight/OEBPS/3.html"/>
</navPoint>
<navMap>
最後に、私の配列には次のものが含まれているはずです。
array at 0: Cover
array at 1: News
array at 2: Report
array at 3: Economy Update
どんな助けでも適用されます。