ArticleClover
 Home | Login | Register Now! | Submit Article | Latest Articles | Contact Us RSS
ArticleClover » Computer-and-technology

What is an XML Schema?
Words: 516 | Date: Thu, 26 Aug 2010


XML Schema Definition Language, XSDL, is used to enforce rules on data structures within XML files. The Schema Definition Language ensures that each object within the XML file conforms to a predefined structure as described within the XSDL document.

XML Schemas facilitate the creation of significantly complex data structures. Essentially, the XSD files themselves are simple files which would be legible to any basic programmer. They define elements within the object in terms of variables which have data types, such as string, integers and floating point numbers.

There are various XSD Editors on the market at present, the most obscure, yet well known is Microsoft Word. MS Word allows basic XML Editing, exporting, and even inclusion of XSDL Schema files so that you can check whether your document conforms to the correct standards.

There are other paid alternatives, which offer graphical XML and XSD Editing, for more hands on development tasks. For tasks which involve large amounts of XML Editing, I'd recommend purchasing some quality software. Bearing this in mind, you won't have to purchase any software if you're just getting started with XML, as you probably already have it.

If you're looking for a way to learn XML Schemas, search Google for some short tutorials, or purchase a book from somewhere like Amazon.

XML Style sheet Transformation Language XSLT is not the same as XSDL. XSLT is a transformations language which transforms XML Data to another format, such as HTML for web rendering. XSDL forces data integrity throughout this process, but will not alter data during this.

Schemas are actually XML Documents too, and they must conform to the legal boundaries of a schema specification, which is known as a 'schema schema'. Schemas themselves can be imbedded in the files, (for example XML, HTML). Now it has started getting complicated, the need for an XML Editor is apparent! Ideally, XML and XSD Editors are necessary for editing these files of modest complexity.

To understand schemas in detail, you really should do a little background reading in XML Prefixes and XML Namespaces. Again, reading on these can be found on Google (or Amazon if you're old school). XML Documents attach the URI of the Schema on the second line, by using the tag:

< Contact xsi:noNamespaceSchemaLocation="contact.xsd" xmlns:xsi = "http: / / w3.org/2001/X MLSchema-instance"> (without spaces)

In this example, the XML file would generally be about a set of contacts, with the root element being defined as a 'Contact' i.e. < xs:element name=" Contact">

Root elements are usually defined as complex type as they can contain numerous data types and objects within them. Within root elements, there is a 'sequence' of child objects. The available data types for these are; "element", "simpleType", "complexType", "date", "integer", to name just a few. Within XML Schema Documents, you may often see elements with a prefix 'xs:', or 'xsd:', this is a standard to define schema tags.


Liquid Technologies produce a visual XSD Editor. Check out their website at http://www.liquid-technologies.com, to Download XML now!

Article Source: Article Directory | Author Jamie Simpson | Cheap WebHosting




Bookmark
digg delicious googlecombookmarks stumbleupon propellercom redditcom simpycom mister-wongcom mixxcom mywebyahoocom myjeevesaskcom furlnet blinklistcom technoraticom myspacecom facebookcom twittercom
More Articles
* How To Protect Your Computer From The Evils Of The Internet
* SOA – Poses a Challenge to Organisations
* The Advantages of Selecting Soft Home Windows Can be Extensive
* How to Retrieve Deleted Text From Your Teens Motorola GSM Cellular Device
* Use This Reverse Cell Phone Search To Discover Who Owns Any Phone Number!
* Defect Prevention – Needs Professional Help!
* Have You Ever Asked 'How Can I Recover Deleted Text From a Nokia GSM Cellular Device?
* The Uses of a Metal Detector
* The New Features in Adobe Creative Suite CS5
* What is XSL?
* Using Culture to Design More Usable Websites
* Looking For PS3 Downloads? Here's How To Get Games, Movies, Music and More
* Registry Error Tool Review - Regcure
* Steel Detailing Software - How Does It Help Business Profitability?
* AutoCad Training Courses - What To Look For
* Efficient Document Management Software in Your Home, Office and Storage to Get Organized
* Discover The Easy Way To Watch TV Online Anytime You Want!
* Take Advantage of This Free Reverse Phone Lookup to Find Out Who Owns Any Phone Number
* How Can I Use a Reverse Phone Lookup to Discover Who Owns a Certain Phone Number?
* How Using Voice-overs in Flash Videos Improves Viewer Engagement
* The Commodore Legacy - Part II
* The Tools You Need to Cast a Shadow in Photoshop
* The Technological Revolution in India
* More Freedom on a Pockect Size Digital Camera, S90
* Enrich Your Website Using Image Maps: Create Flash Anatomy Chart, Interactive Flowchart Easily


 

Search for Content:

Advanced Search


Categories
*Arts and Entertainment
*Automotive
*Business
*Communications
*Computer and Technology
*Fashion and Beauty
*Finance and Investment
*Food and Beverages
*Health and Fitness
*Home and Family
*Internet Business
*News and Society
*Pets and Animals
*Recreation and Sports
*Reference and Education
*Self Improvement
*Shopping and Reviews
*Travel and Leisure
*Writing and Speaking


Now Trending
iconlolo jones
icondonald driver
icongreat gatsby trailer
icondancing with the stars winner
icondonald driver dancing with the stars
iconfleet week
icondexter pittman
icondwts
iconbet awards 2012
iconfacebook stock
iconmiami heat
icondeadliest catch
iconmemorial day
iconaroldis chapman
iconwilliam levy
iconpacers
iconphoenix coyotes
iconactuary
iconaustin city limits
iconlea michele
sikiş film izle