|
A collection of XML schema tutorials |
|
|
|
Contributed by Howell
|
|
Wednesday, 14 June 2006 |
XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail. XML Schema was approved as a W3C Recommendation on 2 May 2001 and a second edition incorporating many errata was published on 28 October 2004; see reference list for pointers.
!,A New Kind of Namespace (XML Schema Tutorial)Followers of this column will be more than aware that when a technology emerges from the W3C there are always teething pains. W3C Recommendations aren't quite the shrink-wrapped parcels of authority they're often taken to be. Perhaps the canonical example of this has been the XML and Namespaces Recommendation, the somewhat unpredictable repercussions of which are still being felt; all the while, typically, the specification is heralded as a fine piece of work by some of its major supporters. Read full article A Quick Introduction to XML Schemas (XML Schema Tutorial) by Jeff Volkheimer XML ("Extensible Markup Language") is rapidly establishing itself as a useful tool for data exchange because it has the incredible potential to become a universal format for structuring information. To use XML effectively in a community such as the Internet, there must be some constraints on the valid tags and tag sequences so that the data exchange can actually make sense to someone other than the creator. Still commonly used, DTDs (Document Type Definition) fulfilled this need. DTDs, however, have several disadvantages, such as: - Creation of DTDs requires the use and knowledge of a completely different syntax from XML.
- Very limited ability to specify custom datatypes
- Desire commonly used database datatypes (such as dates): DTDs support 10 types
Read Full Article W3C XML Schema Made Simple (XML Schema Tutorial)It's easy to learn and use W3C XML Schema once you know how to avoid the pitfalls. You should at least learn the following things. Full Article XML for Data: Styling with schemas(XML Schema Tutorial)
This column by developer and author Kevin Williams demonstrates how to use XML Schema archetyping (and style sheets) to control styling of data for various presentation modes. Ten code samples in XML, XML Schema, and XSLT show how the techniques work to reduce code bulk and simplify maintenance. Full Article |
|
Last Updated ( Wednesday, 21 February 2007 )
|