BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
Schemas, xsd, xdr
Introduction to Schemas and Namespaces
Schema Tricks and Techniques
Intentional Schema Based Programming
W3C XML Schemas: Rules for Documents and Data
RDF Schemas
XSD Schema Summary
Map Schemas using Wildcards
Map Schemas using Model Groups
XSD Schema Mappings
General XSD Limitations
Extracting Schemas for Nested Classes
Creating Schemas from Assemblies
Strongly Typed .NET DataSet
XSD schemaLocation
Selecting Elements in Schemas
Specifying Namespaces
XSD targetNamespace
XSD Schemas
Convert XDR to XSD
Learn XSD Schemas .NET Tutorial
<< reBlogger
SEO >>
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/29/2000
Times viewed :944

 

Choosing schemas

by Mark Wilson

Originally, SGML was the flavour of the month.  SGML documents were structured using DTDs.  With the advent of XML, the DTD had some good features and some bad features.  Before we discuss the various types of schemas, let's take a look at the pros and cons of DTD and schemas:

HTML itself has a DTD, but you never need to see it because it is the default DTD. You can read about it at: http://www.w3.org/TR/REC-html40/loose.dtd

DTDs have three major things going for them:

  • they are easy to learn and are a standard,
  • they are mature and are used in several thousand applications,
  • they have an enormous number of trained developers already using them from the SGML heyday, and
  • there are many tools out there for using DTDs.

Schemas were born out of the limitations to DTDs.  For example:

  • DTDs are not written in XML and therefore they are not available via the DOM,
  • DTDs do not have support for namespaces, and
  • DTDs are good at describing structure, but not the data contents – their data typing is poor and limited. There is no support for currencies and so on.

Schemas on the other hand:

  • are built in XML and can therefore be used via the DOM [Document Object Model] in Visual Basic or VBScript in ASP,
  • provides data types such as float, currencies and so on,
  • provides better relationships between elements,
  • enables you to create your own user-defined data types,
  • some form of inheritance is indicated, and
  • namespaces are supported. Sidebar:

Since Schemas are XML documents themselves, there is a DTD (or Schema) available for evaluating if your Schema itself is valid.!

While Schemas will definitely figure in your future projects, a consensus view is that the final proposal of the working group on Schemas will not look like the current implementation of Schemas within Microsoft IE5. For example, in August 1998 the Schema syntax changed substantially. It is expected that will happen again once the working draft becomes a recommendation.

Schemas... lot's of them!

So, what do the different Schemas offered as standards by different companies look like?  There are also at least 5 Schema formats, which are also trying to take over from DTDs:

 


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

Integration Specialist Needed - Wor
Virtualization Server Infrastructur
A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En

View all Jobs (Add yours)
View all CV (Add yours)




swimming pool builder
chicago web site design
spfxmasks
Cheap Web Hosting
conference calling
Versace sunglasses
answering service


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP