Share on Facebook Share on Twitter Email
Answers.com

W3C XML Schema

 

An XML schema from the W3C. It is a superset of DTD, which is the standard SGML schema. Unlike DTD, W3C XML Schema is written in XML syntax, which although more verbose than DTD, can be created with any XML tools. Following is an example of W3C XML Schema statements that define first and last name, followed by tags in actual use within the document. The xsd prefix is defined elsewhere in the schema to refer to the XML namespace that is being used. For information, visit www.w3.org/XML/Schema. W3C XML Schema is informally known as "XSD." See XML schema, XML repository, DTD, XQuery and XML.

  Schema for the Tags
  <xsd:element name="firstName" type="xsd:string"/>
  <xsd:element name="lastName" type="xsd:string"/>


  Actual Tags in Use
  <firstName>Pat</firstName>
  <lastName>Jones</lastName>

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 
Learn More
XSD (technology)
DTD (technology)
Schematron (technology)

What is schema and sub-schema? Read answer...
Who is the current CEO of the w3c? Read answer...
The correlation between the W3C and HTML? Read answer...

Help us answer these
What is xml schema used in mpeg7?
What is the use of XML schema?
What is an xml schema give sample code?

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Computer Desktop Encyclopedia. THIS DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2010 The Computer Language Company Inc.  All rights reserved.  Read more