开发者

how to represent it in dtd?

开发者 https://www.devze.com 2022-12-11 22:35 出处:网络
I have two element 开发者_如何学Pythonaction and guid. guid is a required field when action is add. but when action is del it will not appear in file.

I have two element 开发者_如何学Pythonaction and guid. guid is a required field when action is add. but when action is del it will not appear in file.

How to represent this in dtd ?


You may be able to express what you're saying in XMLSchema, but I'm fairly certain that it isn't possible in DTDs, unless you make "add" and "del" different types of elements (rather than having them both be action elements).

0

精彩评论

暂无评论...
验证码 换一张
取 消