If you want to use DTDs and namespaces together, you can do so by designating specific prefixes and treating them as fixed parts of the element and attribute names.
如果您要同时使用DTD和名称空间,通过指定特定的前缀并把它们当作元素和属性名称的固定部分就可以做到了。
Dates are a good example: a date has fixed structure and generally ACTS as a single token, so it makes sense as an attribute (preferably expressed in ISO-8601).
日期是一个很好的例子,它有固定的结构,并且一般作为单个标记,因此作为属性非常合理(更适合用iso - 8601表示)。
This attribute list was created when the library definition was created, and is a fixed list.
创建库定义时会创建属性列表,该属性列表是一个固定列表。
应用推荐