开发者

how to represent it in dtd?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜