Next Level Articles Homepage.
Translate Page To German Tranlate Page To Spanish Translate Page To French Translate Page To Italian Translate Page To Japanese Translate Page To Korean Translate Page To Portuguese Translate Page To Chinese
  Number Times Read : 28      
Categories

Accessories
Arts
Business
Career
Cars and Trucks
CGI
Christianity
Coding Sites
Computers
Computers and Technology
Cooking
Crafts
Current Affairs
Databases
Entertainment
Film
Finances
Gardening
Healthy Living
Holidays
Home
Home Management
Internet
Medical
Medical Business
Men Only
Motorcyles
Our Pets
Outdoors
Relationships
Religion
Self Help
Self Improvement
Society
Sports
Staying Fit
Technology
Travel
Web Design
Weddings
Women Only
Womens Interest
World Affairs
Writing
 
Stats
Total Articles: 27
Total Authors: 104482
Total Downloads: 2380419


Newest Member
James Geto

 


   

What is an XML Schema?



[Valid RSS feed]  Category Rss Feed - http://www.articlesbacklink.com/rss.php?rss=32
By : Jamie Simpson   

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.

1st page google ranking
Author Resource:- Liquid Technologies produce a visual XSD Editor. Check out their website at http://www.liquid-technologies.com, to Download XML now!
Article From Articles Back Link

Related Articles

HTML Ready Article. Click on the "Copy" button to copy into your clipboard.




Firefox users please select/copy/paste as usual
Rate This Article
Vote to see the results!

Do you like this article?
  • Yes.
  • Not Sure.
  • No.
New Members
 
select
Sign up
select
Learn more
 
 
Nav Menu
Home
Login
Submit Articles
Submission Guidelines
Top Articles
Link Directory
About Us
Contact Us
Privacy Policy
RSS Feeds

Actions
Print This Article
Add To Favorites

 
Sponsors