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.
クラスの学生が行ったアンケートのxmlを作成しています。私の応答の dtd は次のようになります。
<!DOCTYPE responses [ <!ELEMENT responses (student)+> <!ELEMENT student (response?)> ]>
このモデルには、応答があるかどうかに関係なく、少なくとも 1 人の生徒が必要です。
回答のある学生を少なくとも 1 人要求する方法はありますか?
DTD にはありません。もちろん、応答を学生の必須の子にすることもできます。