<?xml version="1.0" encoding="UTF-8"?> <!-- 一番最初に書く --> <cookbook> <!-- 番外枠を囲んでいる--> <foods> <!-- foodの大群を囲んでいる --> <food> <!--トピックごとに囲むこのファイルではfood。foodの中のname, color, tasteはなんでもOK --> <name>りんご</name><!-- 名前。このファイルでは食べ物の名前(スポーツとか好きな歌とかなんでもOK)名前なのでnameで囲む --> <color type="red">赤色</color> <!-- 色なのでcolorで囲む typeは絞り込みをする時に使うため””で囲んで英語表記とかで指定する。 --> <taste type="sweet">甘い</taste><!-- 味なのでtasteで囲む --> </food> <food> <!-- ↑同じようにトピックを書いていく。--> <name>唐辛子</name> <color type="red">赤色</color> <taste type="spicy">辛い</taste> </food> <food> <name>ぶどう</name> <color type="purple">紫色</color> <taste type="sweet">甘い</taste> </food> <food> <name>サツマイモ</name> <color type="purple">紫色</color> <taste type="sweet">甘い</taste> </food> <food> <name>レモン</name> <color type="yellow">黄色</color> <taste type="sour">酸っぱい</taste> </food> <food> <name>バナナ</name> <color type="yellow">黄色</color> <taste type="sweet">甘い</taste> </food> <food> <name>ごま</name> <color type="black">黒色</color> <taste type="tasteless">無味</taste> </food> <food> <name>コーヒー</name> <color type="black">黒色</color> <taste type="bitter">苦い</taste> </food> <food> <name>ゴーヤ</name> <color type="green">緑色</color> <taste type="bitter">苦い</taste> </food> <food> <name>メロン</name> <color type="green">緑色</color> <taste type="sweet"> 甘い</taste> </food> </foods> </cookbook>