NOT-IF-THEN element 反蕴涵元件
If the Address type did not have a phone element and, therefore, did not reference the urn: listing5 namespace, then this pair, Listings 4 and 5, would be legal.
如果Address类型没有phone元素并且因此没有引用urn: listing 5命名空间,那么清单4和5将是合法的。
If the element does not have an href attribute, then you can transform it to a element instead of a element.
如果元素没有href属性,可以将其转换成元素而不是元素。
If "phone" was an attribute of the employee element, then it can exist only once per employee, and we could not add child elements too it, which may hinder schema evolution over time.
如果“phone”是雇员元素的一个属性,那么对于每个雇员,它只能出现一次,我们也不能为之添加子元素,这将妨碍模式随时间而变化。
应用推荐