我正在创建一个 XML DTD,我有一组标签,并且只有一个标签必须包含一个属性。如何在 DTD 中执行此操作?考虑一个多项选择题/答案组。见下文:
<group>
<question>This is a question</question>
<question>This is another question</question>
<question answer="true">This is another question, but this is the correct choice</question>
</group>