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.
我有一个 DTD,我想将一些属性属性的可能值限制为“是”或“否”。
<!ATTLIST node postgrad CDATA "">
我怎么做?
通过定义属性 postgrad 可以具有值是或否:
<!ATTLIST node postgrad (yes | no)>
这样就可以了=)