We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
尽管这在某种程度上取决于您的 dtd/模式,但您没有理由不能在 UML 中做到这一点。例如,has-a 关系标识哪些标签可以嵌套在其他标签中,并且可以轻松地在每个“类”(也称为标签)上列出属性。如果您希望为标签制作自定义 UML 形状(基于类),这也是一个选项。
请参阅 http://www.ibm.com/developerworks/library/x-umlschem/ 就是一个很好的例子。
Although it depends somewhat on your dtd/schema, there's no reason you couldn't do it in UML. For example, has-a relationships identifying what tags can be nested within others, and attributes can easily be listed on each "class"(aka tag). If you'd prefer to make custom UML shapes for tags (based on classes), that's also an option.
See http://www.ibm.com/developerworks/library/x-umlschem/ for a decent example of this.