ÍøÂçѧԺ w3popÉçÇø ÍøÂç×ÊÔ´ ITÐÂÎÅ

w3pop.com :: ÍøÂçѧԺ :: XML :: XML УÑéÆ÷

»áÔ±µÇ½

ÕʺÅ

ÃÜÂë

»Ø´ð

¼ÇסÃÜÂë

Íü¼ÇÃÜÂë? ×¢²á

XML
XML ½éÉÜ
XML µÄÓÃ;
XML Óï·¨¹æÔò
XML ÔªËØ
XML ÊôÐÔ
XML µÄÓÐЧÐÔÑéÖ¤
XML УÑéÆ÷
Ö§³Ö XML µÄä¯ÀÀÆ..
ä¯ÀÀ XML Îļþ
Óà CSS ÏÔʾ XML
Óà XSL ÏÔʾ XML
XML Êý¾Ýµº
XML ½âÎöÆ÷
ÏÖʵÖÐµÄ XML
XML ÃüÃû¿Õ¼ä
XML CDATA
XML ·þÎñÆ÷
XML Ó¦ÓóÌÐò
XMLHttpRequest ¶..
XML ±£´æÊý¾Ý

XML УÑéÆ÷


×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-29 ÐÞ¸Ä:2007-08-08 ä¯ÀÀ:6057 :: ::

XML Errors will Stop you
XML´íÎó»á×èÄÓÄã

Errors in XML documents will stop your XML program.
XMLÎĵµÖеĴíÎó»á×èÄÓXML³ÌÐò³ÌÐòµÄÔËÐС£

The W3C XML specification states that a program should not continue to process an XML document if it finds an error. The reason is that XML software should be easy to write, and that all XML documents should be compatible.
W3C XML ¹æ·¶ÖÐÌáµ½£ºÈç¹û·¢ÏÖ´íÎ󣬳ÌÐòӦֹͣ¼ÌÐø´¦ÀíXMLÎļþ¡£ÕâÊÇÒòΪXMLÈí¼þÓ¦¸Ã·½±ãÊéд£¬²¢ÇÒËùÓеÄXMLÎĵµ¶¼Ó¦ÊÇÏ໥¼æÈݵġ£

With HTML it was possible to create documents with lots of errors (like when you forget an end tag). One of the main reasons that HTML browsers are so big and incompatible, is that they have their own ways to figure out what a document should look like when they encounter an HTML error.
ʹÓÃHTML´´½¨ÎĵµÊ±£¬ºÜ¿ÉÄܲúÉú´óÁ¿´íÎ󣨱ÈÈçÄãÍü¼ÇÊéд½áÊø±êÇ©£©¡£ÆäÖеÄÒ»¸öÖ÷ÒªÔ­Òò¾ÍÊÇHTMLä¯ÀÀÆ÷Ì«¹ýÅӴ󣬲¢ÇÒ¼æÈÝÐÔ²»ºÃ£»µ±ËüÃÇÓöµ½HTML´íÎóʱ£¬ËüÃÇ»áÒÔ×Ô¼ºµÄ¸ñʽÏÔʾÎĵµ¡£

With XML this should not be possible.
ʹÓÃXMLºó¾ÍÓ¦¸Ã²»»á³öÏÖÕâÖÖÇé¿öÁË¡£


Validate your XML - IE Only
УÑéÄãµÄXML - Ö»Ö§³ÖIE

To help you validate your xml, we have used Microsoft's XML parser to create an XML validator.
ΪÁ˰ïÖúÄãУÑéXMLÎĵµ£¬ÎÒÃÇͨ¹ýMicrosoft's XML ½âÎöÆ÷´´½¨ÁËÒ»¸ö¹ØÓÚУÑéXMLÓÐЧÐԵēУÑéÆ÷”¡£

Paste your XML in the text area below, and syntax-check it by pressing the "Validate" button.
°ÑXMLÊý¾ÝÕ³Ìùµ½ÏÂÃæµÄÎı¾ÇøÓòÄÚ£¬µã»÷“Ìá½»”°´Å¥½øÐÐУÑé¡£(½öÖ§³ÖIE6ÒÔÉϰ汾)



Validate your XML File
УÑéÄãµÄXMLÎļþ

You can also validate your XML files by typing the URL of your file into the input field below, and then press the "Validate" button
ÄãÒ²¿ÉÒÔÏÈÔÚÏÂÃæµÄÊäÈëÓòÄÚÊäÈëÎļþµÄURLµØÖ·£¬ÔÙµã»÷“Ìá½»”°´Å¥£¬½øÐÐУÑé¡£

ÎļþµØÖ·:

If you want to syntax-check (validate) an error-free XML file, you can paste the following address into the filename field:
Èç¹ûÄãÏë¶ÔÒ»·ÝXMLÎļþµÄÓï·¨´íÎó½øÐмì²â£¬Äã¿ÉÒÔ°ÑÏÂÃæµÄµØÖ·Õ³Ìùµ½ÎļþÃûÇøÓòÀï
http://www.w3pop.com/tech/school/xml/cd_catalog.xml

Note: If you get the error "Access denied" when accessing this file, it is because your Internet Explorer security settings do not allow access across domains!
×¢Ò⣺ Èç¹û·ÃÎÊÎļþʱ³öÏÖ“¾Ü¾ø·ÃÎÊ”µÄ´íÎóÌáʾ£¬Õâ˵Ã÷ÄãµÄIE°²È«ÉèÖò»ÔÊÐí¿çÓò·ÃÎÊ¡£

ÆÀÂÛ (1) 1 All