w3pop.com :: ÍøÂçѧԺ :: XML :: XML ÕªÒª
This tutorial has taught you how to use XML to describe data.
Õâ·Ý½Ì³Ì½«½ÌÄãÈçºÎʹÓÃXMLÀ´ÃèÊöÊý¾Ý¡£
You have learned that XML should be used to separate the data from the HTML code.
ÄãÒѾ֪µÀÁËXMLÊÇÓÃÓÚ´ÓHTML´úÂëÖзÖÀëÊý¾ÝµÄ¡£
You have also learned that XML can be used to exchange, share, and store data.
ÄãÒ²ÖªµÀÁËXML¿ÉÓÃÓÚ½»»»¡¢¹²ÏíºÍ´¢´æÊý¾Ý¡£
For more information on XML, please look at our XML examples.
Èç¹ûÄãÏëÖªµÀ¸ü¶à¹ØÓÚXMLµÄÐÅÏ¢£¬Çë²éÔÄÎÒÃÇµÄ XML °¸Àý¡£
The next step is to learn about the XML DOM and XSLT.
ÏÂÒ»²½ÊÇѧϰÓйØXML DOM ºÍ XSLT µÄ֪ʶ¡£
If you want to learn about validating XML, the next step is learning about DTD and XML Schema.
Èç¹ûÄãÏëÖªµÀÈçºÎÑéÖ¤XMLµÄÓÐЧÐÔ£¬ÄÇôÏÂÒ»²½¿ÉÒÔѧϰÓÐ¹Ø DTD ºÍ XML Schema µÄ֪ʶ¡£
XML DOM
The XML DOM defines a standard way for accessing and manipulating XML documents.
XML DOM¶¨ÒåÁËÓÃÓÚ·ÃÎʺͲÙ×÷XMLÎĵµµÄ±ê×¼·½Ê½¡£
The XML DOM is platform and language independent and can be used by any programming language like Java, JavaScript, and VBScript.
XML DOMÊÇÒ»¸öƽ̨£¬Í¬Ê±£¬ËüÒ²ÊÇÒ»ÖÖ¶ÀÁ¢ÓïÑÔ¡£ËüÄܱ»ÈκÎÖîÈ磺Java¡¢JavaScript ºÍ VBScript ÕâÑùµÄ³ÌÐòÓïÑÔʹÓá£
If you want to learn more about the DOM, please visit our XML DOM tutorial.
Èç¹ûÄãÏëѧϰ¸ü¶à¹ØÓÚ XML DOM ·½ÃæµÄ֪ʶ£¬Çë²éÔÄÎÒÃÇµÄ XML DOM ½Ì³Ì¡£
XSLT
XSLT is the style sheet language for XML files.
XSLTÊÇXMLÎļþµÄÑùʽ±íÓïÑÔ¡£
With XSLT you can transform XML documents into other formats, like XHTML.
ͨ¹ýʹÓÃXSLT£¬Äã¿ÉÒÔ°ÑXMLÎĵµ×ª»»³ÉÆäËü¸ñʽ£¬ÀýÈçXHML¡£
If you want to learn more about XSLT, please visit our XSLT tutorial.
Èç¹ûÄãÏ£Íûѧϰ¸ü¶à¹ØÓÚXSLTµÄ֪ʶ£¬Çë²éÔÄÎÒÃÇµÄ XSLT ½Ì³Ì¡£
DTD Óë XML Schema
The purpose of a DTD is to define what elements, attributes and entities is legal in an XML document.
DTDÊÇÓÃÓÚ¼ìÑéÒ»·ÝXMLÎĵµÖеÄÔªËØ¡¢ÊôÐÔºÍʵÌåÊÇ·ñºÏ·¨¡£
With DTD, each of your XML files can carry a description of its own format with it.
ͨ¹ýʹÓÃDTD£¬Ã¿·ÝXMLÎļþ¶¼¿ÉÒÔЯ´øÒ»·ÝÓÃÓÚÃèÊö×Ô¼ºµÄ¸ñʽ˵Ã÷¡£
DTD can be used to verify that the data you receive, and your own data, is valid.
DTD¿ÉÓÃÓÚ¼ìÑéÄãËùÊÕµ½µÄÊý¾ÝÒÔ¼°Äã×Ô¼ºµÄÊý¾Ý±¾ÉíÊÇ·ñÓÐЧ¡£
If you want to learn more about DTD, please visit our DTD tutorial.
Èç¹ûÄãÏ£Íûѧϰ¸ü¶à¹ØÓÚDTDµÄ֪ʶ£¬Çë²éÔÄÎÒÃÇµÄ DTD ½Ì³Ì¡£
XML Schema will replace DTD.
XML Schema ½«Ìæ´ú DTD
XML Schema is an XML based alternative to DTD.
XML Schema ÊÇ»ùÓÚXMLµÄ£¬ËüÊÇDTDµÄÌæ´úÆ·¡£
Unlike DTD, XML Schemas has support for datatypes, and XML Schema use XML Syntax.
ÓëDTD²»Í¬£¬XML SchemaÖ§³ÖÊý¾ÝÀàÐÍ£¬²¢ÇÒËüʹÓõÄÊÇXMLÓï·¨¡£
If you want to learn more about XML Schema, please visit our XML Schema tutorial.
Èç¹ûÄãÏ£Íûѧϰ¸ü¶à¹ØÓÚXML Schema£¬Çë²éÔÄÎÒÃÇµÄ XML Schema ½Ì³Ì¡£
ÆÀÂÛ (0)
All