The main drawback of local declarations is that they prevent reuse.
局部声明的主要缺点是它们不能重复使用。
Listing 2, on the other hand, USES local declarations as much as possible.
另一方面,清单2尽可能地使用了局部声明。
With Listing 2 (local declarations), it is impossible to reuse the movie element in another context.
在清单2中(使用局部声明),不能在另一个上下文中重复使用movie元素。
Another benefit of local declarations is that they clearly identify the possible roots in a document.
局部声明的另一项好处是它们明确地标识了文档中可能的根。
Global declarations are not new — they were originally introduced with DTDs — but local declarations are unique to XML Schema.
全局声明并不是新东西——DTD中就已经引入它们了——但是局部声明是XML Schema所独有的。
Local declarations, on the other hand, cause no conflict if they have different contexts.
另一方面,局部声明如果是在不同的上下文中,则不会产生冲突。
Local declarations, on the other hand, cause no conflict if they have different contexts.
另一方面,局部声明如果是在不同的上下文中,则不会产生冲突。
应用推荐