アプリの説明と一般的なUIの取得には2つのAPIがあります。私は、記述がCDATA
タグかどうかをJavaで調べる必要があります。テキストコンテンツにCDATAが含まれているかどうかを検出します
例えば、1つのアプリには以下の記述があります。
"<![CDATA[<p>What is Skype?<br />Skype is software that enables the world's
conversations. Millions of individuals and businesses use Skype to make free video and voice
calls, send instant messages and share files with other Skype users. Everyday, people also
use Skype to make low-cost calls to landlines and mobiles.</p>]]>"
を、別のアプリが、私はそこに2つの記述を区別することができますどのように以下の説明
Run with your fingers as fast as you can to try and get to the top of the leader board. This
game gets even better with friends, Once people see you playing they will want to have a go
and try to beat your fastest time. Tip: Take long strides on the screen to get maximum
distance per step,
<a href=https://abc.defgh.ij.kl/apps/wap/shopping/shopping/freshima-supermarket/freshima-supermarket/web/>WAP URL</a>
を持っているが?説明がJavaでCDATA
であるかどうかを検出する方法はありますか?
なぜ重要ですか? CDATAを使用するか、エンティティを使用します(またはどちらかが必要な場合は文字がありません)。どのようなXMLライブラリを使用しても、それを透過的に処理する必要があります。 – Quentin