应用程序必须知道每个字段的次序和类型,因为它必须计算该字段在记录中的偏移量。
The application must know the order and type of each field since it must calculate its offset in the record.
例如,XML模式指定哪些元素是有效的,这些元素在文档中应该以什么次序出现,与每个元素相关联的XML数据类型,等等。
For example, XML schemas specify what elements are valid, the order in which these elements should appear in a document, what XML data types are associated with each element, and so on.
要验证 XML 数据,需要定义一个 XML 模式,它指定了可接受的 XML 元素、它们的次序和数据类型,等等。
To validate XML data, you need to define an XML schema that specifies acceptable XML elements, their order and data types, and so on.
应用推荐