XML architecture reference (XSD)

xiaoxiao2021-03-06  41

XML Architecture Definition Language (XSD) enables you to define structures and data types for XML documents. XML architecture defined element, attribute, and data types Comply, "World Wide Web Consortium (W3C) XML Schema Part 1: Structures Recommendation for the XML Schema Definition Language" Part 1: XML Architecture Definition Language Structure recommendation). "W3C XML Schema Part 2: DataTypes Recommendation" (W3C XML Architecture Part 2: Data Type Recommendation) is a suggestion for the data type defined in the XML architecture. The XML Architecture Reference (XSD) is based on the W3C 2001 recommended specification for the data type and the structure.

The XML architecture is composed of top-level Schema elements. The Schema element definition must include the following namespace:

http://www.w3.org/2001/xmlschema

Schema elements contain type definitions (SimpleType and ComplexType elements) and Attribute and Element declarations.

In addition to their built-in data types (such as integer, string, etc.), the XML schema also allows the use of SimpleType and ComplexType elements to define new data types.

SIMPLETYPE

Can be used as elements or properties (

Type definition of the value of Textonly. This data type cannot contain elements or properties.

ComplexType

You can include the type definition of an element of attributes and elements. This data type can contain elements and properties.

See

XML Architecture Example | XML Architecture Element | XML Data Type Reference | Bench XML Data Type | Export XML Data Type | Data Type

转载请注明原文地址:https://www.9cbs.com/read-53623.html

New Post(0)