Useful built-in simple types : Introduction « XML Schema « XML Tutorial

XML Tutorial
1. Introduction
2. Namespace
3. XML Schema
4. XPath
5. XSLT stylesheet
Java
XML
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
XML Tutorial » XML Schema » Introduction 
3. 1. 9. Useful built-in simple types
Built-in type           Description                                                Example(s

xsd:string              A sequence of any of the legal XML characters              This is a string. 

xsd:boolean             The value true or false, or 1(trueor 0(false)            true, 
                                                                                   false
                                                                                   1
                                                                                   0
xsd:decimal             A number that may contain a decimal component              -5.2

xsd:integer             A whole number                                             -389

xsd:positiveInteger     A positive whole number (not including 0)                  5

xsd:negativeInteger     A negative whole number (not including 0)                  -389

xsd:date                A calendar date, represented as CCYY-MM-DD                 2008-05-21

xsd:time                A time of day, represented as hh:mm:ss.ss                  11:30:00.00 (11:30 A.M.)

xsd:dateTime            A date and time of day, CCYY-MM-DD Thh:mm:ss.ss            2008-05-21T17:28:00.00

xsd:gMonth              A Gregorian calendar month, represented as --MM--          --05-- (May)

xsd:gYear               A Gregorian calendar year, represented as CCYY             2008

xsd:gDay                A day of a Gregorian calendar month, represented as ---DD  ---05

xsd:gYearMonth          A Gregorian calendar year and month, as CCYY-MM            2008-05 (May, 2008)

xsd:anyURI              A URI                                                      http://www.java2java.com
3. 1. Introduction
3. 1. 1. Getting Started with XML Schemas
3. 1. 2. XML Schema defines the name vocabulary.
3. 1. 3.  Declarations
3. 1. 4.  element is the root element within an XML Schema.
3. 1. 5. Target Namespaces
3. 1. 6. Simple and Complex Types
3. 1. 7. Primitive Datatypes
3. 1. 8. Derived Datatypes
3. 1. 9. Useful built-in simple types
3. 1. 10. Create global complex types
3. 1. 11. Derivation by extension
3. 1. 12. Derivation by restriction
www.java2java.com | Contact Us
Copyright 2010 - 2030 Java Source and Support. All rights reserved.
All other trademarks are property of their respective owners.