Consider the following definition from a DTD:
<!ELEMENT application (calculator)?>
<!ATTLIST application
uri CDATA #REQUIRED
>
My problem is that I want the uri
attribute to be defined if and only if there is not a calculator
element.
Is there a way to require this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…