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.
テキストとタグとその属性の両方を示す html ツリーを表示する方法。htmlcxx のまともなマニュアルやドキュメントがあればありがたいのですが、自分自身を助けるものは見つかりませんでした。
あなたの質問は他のSOスレッドと非常に似ていると思います。提供された答えは、目標を達成するのに役立つはずです。
htmlcxx API の使用法
そこに示されているコードは、dom ツリーのすべての子を調べて、それらを stdout、タグ、およびテキストに書き込みます。