Academic Tutorials



English | French | Portugese | German | Italian
Google

Home Source Codes E-Books Downloads Contact Us About Us

Schema Tutorial
XML Schema Introduction
Why Use XML Schemas?
XSD How To?
XSD - The <schema> Element
XSD Simple Elements
XSD Attributes
XSD Restrictions/Facets
XSD Complex Elements
XSD Complex Empty Elements
XSD Complex Type - Elements Only
XSD Complex Text-Only Elements
XSD Complex Types With Mixed Content
XSD Complex Types Indicators
XSD The <any> Element
XSD The <anyAttribute> Element
XSD Element Substitution
An XSD Example
XSD String Data Types
XSD Date Data Types
XSD Numeric Data Types
XSD Miscellaneous Data Types
You Have Learned XML Schema, Now What?

HTML Tutorials
HTML Tutorial
XHTML Tutorial
CSS Tutorial
TCP/IP Tutorial
XML Tutorials
XML Tutorial
XSL Tutorial
XSLT Tutorial
DTD Tutorial
Schema Tutorial
XForms Tutorial
XSL-FO Tutorial
XML DOM Tutorial
XLink Tutorial
XQuery Tutorial
XPath Tutorial
XPointer Tutorial
RDF Tutorial
SOAP Tutorial
WSDL Tutorial
RSS Tutorial
WAP Tutorial
Web Services Tutorial
Browser Scripting
JavaScript Tutorial
VBScript Tutorial
AJAX Tutorial
DHTML Tutorial
HTML DOM Tutorial
WMLScript Tutorial
E4X Tutorial
Server Scripting
ASP Tutorial
PHP Tutorial
PERL Tutorial
SQL Tutorial
ADO Tutorial
.NET (dotnet)
Microsoft.Net
XML Web Services
ASP.Net
.Net Mobile
C# : C Sharp
ADO.NET
VB.NET
Multimedia
SVG Tutorial
Flash Tutorial
Media Tutorial
SMIL Tutorial
Web Building
Web Browsers
Web Hosting
W3C Tutorial
Web Building
Web Quality
Web Semantic
Web Careers
Java Tutorials
Java Tutorial
JSP Tutorial
Servlets Tutorial
Struts Tutorial
EJB Tutorial
JMS Tutorial
JMX Tutorial
Programming Langauges
C Tutorial
C++ Tutorial
Visual Basic Tutorial
Data Structures Using C
Soft Skills
Communication Skills
Time Management
Project Management
Team Work
Leadership Skills
Corporate Communication
Negotiation Skills


XSD Miscellaneous Data Types
Previous Next


Other miscellaneous data types are boolean, hexBinary, base64Binary,float, double, anyURI, QName, and NOTATION.



Boolean Data Type

The boolean data type is used to specify a true value or a false value.

The following is an example of a boolean declaration in the schema:

<xs:attribute name="disabled" type="xs:boolean"/>

An element in your document might look as follows:

<prize disabled="true">999</prize>

Note: Legal value for boolean are true, false, 1 (which indicates true), and 0 (which indicates false).



Binary Data Types

Binary data types are used to express binary-formatted data only.

We have only two binary data types:

  • hexBinary (hexadecimal-encoded binary data)
  • base64Binary (Base64-encoded binary data)

The following is an example of a hexBinary declaration in the schema:

<xs:element name="blobsrc" type="xs:hexBinary"/>


Any URI Data Type

The anyURI data type is used to specify URI.

The following is an example of an anyURI declaration in the schema:

<xs:attribute name="src" type="xs:anyURI"/>

An element in your document might look as follows:

<pic src="http://www.academictutorials.com/images/webform.gif" />

Note: If a URI has space, replace them with %20.



Miscellaneous Data Types
Name
anyURI  
base64Binary  
boolean  
double  
float  
hexBinary  
NOTATION  
QName  


Restrictions on Miscellaneous Data Types

Restrictions that can be used with other data types:

  • enumeration (a Boolean data type cannot use this constraint)
  • maxLength (a Boolean data type cannot use this constraint)
  • length (a Boolean data type cannot use this constraint)
  • minLength (a Boolean data type cannot use this constraint)
  • pattern
  • whiteSpace




Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • co.mments
  • connotea
  • del.icio.us
  • De.lirio.us
  • digg
  • Fark
  • feedmelinks
  • Furl
  • LinkaGoGo
  • Ma.gnolia
  • NewsVine
  • Netvouz
  • RawSugar
  • Reddit
  • scuttle
  • Shadows
  • Simpy
  • Smarking
  • Spurl
  • TailRank
  • Wists
  • YahooMyWeb

Previous Next

Keywords: XSD miscellaneous datatype,xsd data types,xsd tutorial,xsd xml,xsd dtd,xsd examples,xsd validator,sample xsd,xsd specification,xsd tools,xsd example,xml datatype,xsd format,xsd editor,xsd syntax,cdata xsd,xsd namespace,xsd schema,xsd viewer


HTML Quizes
HTML Quiz
XHTML Quiz
CSS Quiz
TCP/IP Quiz
XML Quizes
XML Quiz
XSL Quiz
XSLT Quiz
DTD Quiz
Schema Quiz
XForms Quiz
XSL-FO Quiz
XML DOM Quiz
XLink Quiz
XQuery Quiz
XPath Quiz
XPointer Quiz
RDF Quiz
SOAP Quiz
WSDL Quiz
RSS Quiz
WAP Quiz
Web Services Quiz
Browser Scripting Quizes
JavaScript Quiz
VBScript Quiz
AJAX Quiz
DHTML Quiz
HTML DOM Quiz
WMLScript Quiz
E4X Quiz
Server Scripting Quizes
ASP Quiz
PHP Quiz
PERL Quiz
SQL Quiz
ADO Quiz
.NET (dotnet) Quizes
Microsoft.Net Quiz
XML Web Services Quiz
ASP.Net Quiz
.Net Mobile Quiz
C# : C Sharp Quiz
ADO.NET Quiz
VB.NET Quiz
Multimedia Quizes
SVG Quiz
Flash Quiz
Media Quiz
SMIL Quiz
Web Building  Quizes
Web Browsers Quiz
Web Hosting Quiz
W3C Quiz
Web Building Quiz
Web Quality Quiz
Web Semantic Quiz
Web Careers Quiz
Java Quizes
Java Quiz
JSP Quiz
Servlets Quiz
Struts Quiz
EJB Quiz
JMS Quiz
JMX Quiz
Programming Langauges Quizes
C Quiz
C++ Quiz
Visual Basic Quiz
Data Structures Using C Quiz
Soft Skills Quizes
Communication Skills Quiz
Time Management Quiz
Project Management Quiz
Team Work Quiz
Leadership Skills Quiz
Corporate Communication Quiz
Negotiation Skills Quiz

Privacy Policy
Copyright © 2003-2008 Vyom Technosoft Pvt. Ltd., All Rights Reserved.