Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
class 属性のみを持つ div 要素を持つ HTML Web ページを解析しようとしています。そこから情報を抽出する必要があります。複数の div 要素であるため、DOM をトラバースする必要があります。しかし、div要素を特定できません。
HtmlCleaner の JDom シリアライザーを使用する場合は、XPath 式を使用して div を見つけることができます。