这样属性和简单类型定义就完成了,如列表3中的片段所示。
This completes the attributes and simple type definition, as shown in the fragments presented in Listing 3.
简单类型定义允许为纯文本元素、属性定义或自定义的值空间。
Simple type definitions allow you to define custom value Spaces for text-only elements and attributes.
指定的type必须派生于声明的类型或称为xs:error的特殊简单类型定义(没有有效实例)。
The type specified must be derived from the declared type or a special simple type definition called xs: error (which has no valid instances).
XMLSchema 1.0同时提供复杂类型和简单类型定义,允许模式作者指定并限制元素的内容和属性值。
Complex and simple type definitions in XML schema 1.0 allow schema authors to specify and restrict the content of elements and values of attributes.
和复杂类型定义一样,断言是一组被指定为简单类型定义facet的一组有序的xs:assertion元素序列。
As with complex type definition, the assertions are an ordered sequence of xs: assertion elements specified as facets in the simple type definition.
您现在已经了解了业务对象定义,可能会想了解有关简单类型以及如何建模属性的信息。
Now that you have seen the business object definitions, you might ask about simple types and how attributes are modeled.
需要将传输到流程的数据定义为一系列简单的数据类型(图6)。
The data flowing into the process needs to be defined as a series of simple data types (Figure 6).
它允许根据相关名称空间定义复杂或简单类型的约束以进行扩展。
Wildcarding allows you to define complex or simple type restrictions for extensions based on an associated namespace.
在使用简单内容定义复杂类型时,可以指定两种类型的断言。
When defining a complex type with simple content, you can specify two types of assertions.
清单1使用元素类型color定义一个简单的代码列表,color包含4个可能元素,前三个元素被赋予已知颜色名称。
It defines a simple code list with the element type color, which contains four possible elements, the first three of which are given known color names.
简单的数据类型仅仅是冰山一角 —XJConf还能够定义相关配置变量的集合,并将其转化成原生PHP数组。
Simple data types are just the tip of the iceberg—XJConf also lets you define collections of related configuration variables, and converts these into native PHP arrays.
Web服务响应的WSDL中的内联模式仅定义一个名为information 的简单类型元素。
The inline schema in the WSDL for the response of the Web service defines only one single simple type element named information.
XMLSchema 1.1现在允许XML模式处理器的实现者定义自己的原始简单类型。
XML Schema 1.1 now allows implementors of XML Schema processors to define their own primitive simple types.
Book负载由其他3个简单的string类型负载定义组成:sn、名称和作者。
The Book payload is composed of three other simple payload definitions of type string: sn, name, and author.
SOAP定义简单的数据类型:字符串、整数、浮点数以及负整数(NegativeInteger)。
SOAP defines simple data types: String, Int, Float, and NegativeInteger.
定义一个Job比较简单:您需要提供输入和输出、map和reduce实现(如清单6和清单9所示)以及输出类型。
Defining a Job is simple: you provide inputs and outputs, map and reduce implementations (as in Listing 6 and Listing 9), and output types.
(到目前为止本文中的例子都是用户定义的简单类型,比如productCode)。
(The examples in this article to this point have been user-defined simple types (see ProductCode)).
从业务对象定义而言,简单类型不能是业务对象,但业务对象可以包含简单类型。
From the business object definition, simple types cannot be business objects, but business objects can contain simple types.
您可以使用与不止一个单元相同的类型,但是实际上这是为每一个单元定义新类型最简单的方式。
You can use the same type for more than one unit, but it's usually easiest to define a new type for each unit.
我提供了联机咖啡服务的简单示例,包括定义了客户机所需的数据类型、操作和服务绑定的WSDL。
I presented a simple example of an online coffee service, including the WSDL which defined the data types, operations, and service bindings needed by the client.
为组件的属性和操作定义强数据类型可以实现更加简单和准确的应用程序装配。
Defining strong data types for the properties and actions of your components facilitates easier and more accurate application assembly.
soap带给表的第二个主要元素是编码用户定义的数据类型的简单方式。
The second major element that SOAP brings to the table is a simple means of encoding user-defined data types.
为了使处理更简单,我添加了一个类型字段,可以用来明确定义的记录类型。
To make processing even simpler, I have added a type field, which can be used to explicitly define the type of the record.
让我们首先简单描述各种不同的记帐类型,并在后面的部分中详细地说明如何启用它们,然后通过自定义的示例来了解它们的报告功能。
Let's start with a brief description of the different accounting types, followed by detailed sections for enabling each of them, and then look at the reporting function with customizing examples.
可以使用用户定义的属性来作为简单的、非结构化和无类型的扩展机制。
You can use user-defined properties as a simple, unstructured and untyped extension mechanism.
当枚举定义的简单类型使用常数的特殊列表时,就会需要这种类型了。
It is needed when there should be a specific list of constant values to be used for the simple type defined by the enumeration.
这个declarativemeta类型的魔力就是允许所有操作发生在一个简单的类定义中。
This DeclarativeMeta type is the magic that allows all of the actions to occur in one simple class definition.
首先,定义了一个简单的类型,它为每个代码值具有xsd:enumeration元素。
First, a simple type is defined that has xsd:enumeration elements for each of the code values.
这意味着当您定义名为“Title”的组件时,即使它是字符串这一事实决定了它是一个简单类型,您也需要通过类型“Title”引用它。
This means that when you define the component called "Title", you need to reference it by the type "Title", even though it is a simple type defined by the fact that it is a string.
XML模式规范定义了一组约束 facet(比如minInclusive或maxLength),可以将这些内容应用于简单类型。
The XML Schema specification defines a set of constraining facets (such as minInclusive or maxLength) that you can apply to simple types.
应用推荐