<block id="123">
<othertag1>...</othertag1>
<othertag2>...</othertag2>
<picture>...</picture>
<othertag3>...</othertag3>
<othertag4>...</othertag3>
</block>
タグのない多くのファイルでそのようなブロックをどのように使用ag
または検索しますか?grep
<picture>
そして高度な:それらのタグ"id"
から取得します。<block>
(たとえば、リストとして stdout に出力します)。