XML Schema: Data Types | |
XML schema supports 44 built-in data types such as string, decimal, and integer. These data types help identify the type of data that an element or attribute can contain. For example, an integer data type can restrict an EmpNumber element to contain only numeric data. In contrast, DTDs use PCDATA and CDATA that do not identify the type of data that an element or attribute can contain. For example, PCDATA does not describe whether data is character or number type. |
![]() |
Click the Next button to continue. |