w3pop.com :: ÍøÂçѧԺ :: Schema (XSD) :: Schema (XSD) ½éÉÜ
Schema (XSD) ½éÉÜ
::
XML Schema is an XML-based alternative to DTD.
XML SchemaÊÇ»ùÓÚXMLÓïÑԵģ¬ËüÊÇÓÃÓÚÌæ´úDTDµÄ¡£
An XML schema describes the structure of an XML document.
Ò»·ÝXML schemaÎļþÃèÊöÁËXMLÎĵµµÄ½á¹¹¡£
The XML Schema language is also referred to as XML Schema Definition (XSD).
XML SchemaÓïÑÔÒ²±»³ÆÎªXML Schema Definition (¼´£ºXSD)¡£
Before you continue you should have a basic understanding of the following:
ÔÚ¼ÌÐøÏÂÃæµÄѧϰ֮ǰ£¬ÄãÐèÒªÕÆÎÕÏÂÃæµÄ֪ʶ£º
If you want to study these subjects first, find the tutorials on our Home page.
Èç¹ûÄãÏ£ÍûÊÂÏÈѧϰÉÏÊö֪ʶ£¬Çë²ÎÔÄÎÒÃǵĽ̳ÌÖ÷Ò³¡£
The purpose of an XML Schema is to define the legal building blocks of an XML document, just like a DTD.
XML SchemaµÄ×÷ÓÃÊǶ¨ÒåÒ»·ÝXMLÎĵµµÄºÏ·¨×é¼þȺ£¬ÕâÓëDTDµÄ×÷ÓÃÀàËÆ¡£
An XML Schema:
Ò»·ÝXML Schema£º
We think that very soon XML Schemas will be used in most Web applications as a replacement for DTDs. Here are some reasons:
ÎÒÃÇÈÏΪXML SchemaºÜ¿ì¾Í»áÌæ´úDTD£¬´Ó¶øÔÚ´ó¶àÊýµÄÍøÂçÓ¦ÓóÌÐòÖй㷺ʹÓá£
XML Schema became a W3C Recommendation 02. May 2001.
XML SchemaÓÚ2001Äê5ÔÂ2ÈÕ³ÉΪW3CÍÆ¼öʹÓõıê×¼¡£
You can read more about the XML Schema standard in our W3C tutorial.
ÔÚW3C ½Ì³ÌÖУ¬Äã¿ÉÒÔѧϰ¸ü¶à¹ØÓÚXML Schema±ê×¼¡£
ÆÀÂÛ (0)
All