Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1


Ratings: (0)|Views: 7|Likes:
Published by ivsvarun

More info:

Categories:Types, School Work
Published by: ivsvarun on Apr 26, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less





XML Schemas
XML Schemas
‡³Schemais a general term--DTDs are a form of XML schemas
 ±According to the dictionary, a schema is ³a structuredframework or plan´
‡When we say ³XML Schemas,´ we usually meanthe W3C XML Schema Language
 ±This is also known as ³XML Schema Definition´language, or XSD ±I¶ll use ³XSD´ frequently, because it¶s short
‡DTDs, XML Schemas, and RELAX NG are allXML schema languages
Why XML Schemas?
‡DTDs provide a very weak specification language
 ±You can¶t put any restrictions on text content ±You have very little control over mixed content (text pluselements) ±You have little control over ordering of elements
‡DTDs are written in a strange (non-XML) format
 ±You need separate parsers for DTDs and XML
‡The XML Schema Definition language solves these problems
 ±XSD gives you much more control over structure and content ±XSD is written in XML

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->