XML, DTDs, Schemas by William Stanek

XML, DTDs, Schemas by William Stanek

Author:William Stanek [Stanek, William]
Language: eng
Format: epub
Publisher: Reagent Press


Once you start using simple and complex types, you'll find that the type definitions become much clearer—as do the reasons that two different types are specified. On the one hand, simple types are used to define the most basic elements a document can contain and to describe their permissible values. On the other hand, complex types are used to define elements that control a document’s structure.

Simple types specify the basic composition of an element or attribute value and can be used in one of three forms:

Atomic Defines the exact type of data allowed for the value and allows for a single value of this type. For example, you could define an element's content as having a string, integer, or date type.

List Defines a list of values having a specific type. This allows you to specify that an element's contents can contain multiple values of the same type.

Union Unions are combinations of lists and atomic values that permit you to use multiple types of values. You could, for example, specify that an element can contain both date and float types.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.