Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

XMLµÄһЩ¼òµ¥ÎÊÌ⣡

£¨µÚ1Õ£©
(P1~3)1£®ÓÃ×Ô¼ºµÄÓïÑÔ¶ÔSGML¡¢HTMLºÍXML×÷¼òµ¥½éÉܺͶԱȡ£
SGML  ÊÇÒ»ÖÖ²ÉÓñê¼ÇÀ´ÃèÊöÎĵµÊý¾ÝµÄͨÓÃÓïÑÔ£¬SGML¶¨ÒåÁË»ù±¾µÄÓï·¨ºÃ£¬Í¬Ê±Ò²ÔÊÐíÓû§½¨Á¢×Ô¼ºµÄÔªËرê¼Ç¡£
HTML ²ÉÓÃÁ˺ÜСһ²¿·ÖSGMLµÄ±ê¼Ç£¬Í¬Ê±HTML²ÉÓõÄÊǹ̶¨±ê¼ÇÒ²²»ÐèÒª°üº¬DTD¡£
XML ͬHTMLÒ»Ñù£¬¶¼Êdzö×ÔÓÚSGML±ê׼ͨÓñê¼ÇÓïÑÔ¡£XMLÊÇInternet»·¾³Öпçƽ̨¡¢ÒÀÀµÓÉÓÚÄÚÈݵļ¼Êõ£¬Êǵ±Ç°´¦Àí½á¹¹ÎĵµÐÅÏ¢µÄÓÐÁ¦¹¤¾ß
(P3)2£®XMLÓÐÄÄЩÌص㣿
¢Ù     XMLÊÇSGMLµÄ¼ò»¯°æ£¬Ëü¼Ì³ÐÁËSGMLµÄÐí¶àÓŵ㡣
¢Ú     XMLÎĵµ¿ÉÒÔÓÃÀ´ÇåÇå³þµÄÃèÊö¡¢´¢´æ¡¢ºÍ¹²Ïí¸÷ÖÖÊý¾Ý¡£
¢Û     XMLÊÇ¿ÉÀ©Õ¹µÄ¡£
¢Ü     XMLÊÇ¿çƽ̨µÄ£¬Ëü²»ÒÀÀµÓÚÈκÎÒ»ÖÖ³ÌÐòÉè¼ÆÓïÑÔ¡¢²Ù×÷ϵͳºÍÈí¼þ¿ª·¢ÉÌ¡£¿ÉÒÔ×÷Ϊ¸÷ÖÖÓïÑԺ͸÷ÖÖϵͳƽ̨Êý¾Ý½»»»µÄÇÅÁº¡£
¢Ý     XMLÊǽṹ»¯µÄ£¬Ëü²»½öÄܹ»ÃèÊöÎĵµÖеĸ÷ÖÖÊý¾ÝµÄº¬Òå¶øÇÒÄܹ»ÃèÊöÕû¸öÎĵµµÄÂß¼­½á¹¹¡£
¢Þ     XMLÊÇ»ùÓÚÎı¾µÄ£¬Ëü¿ÉÒÔÓÃÈκÎÒ»ÖÖÎı¾±à¼­¹¤¾ßÀ´ÔĶÁºÍ±à¼­Ð޸ġ£
¢ß     XMLµÄÊý¾ÝÔ¤ÆÚÏÔʾ¸ñʽÊÇ·ÖÀëµÄ£¬Òò¶øͬһ¸öXMLÎĵµ¿ÉÒÔÊÊÓÃÓÚ¸÷ÖÖ²»Í¬µÄÏÔʾÉ豸ºÍÏÔʾ·½Ê½¡£
¢à     XMLÎĵµ¾ßÓÐÁ¼ºÃµÄ¸ñʽÓëÂß¼­½á¹¹£¬³ÌÐòÔ±¿ÉÒÔºÜÈÝÒ×±àдÏàÓ¦µÄÈí¼þÀ´·ÃÎÊXMLÎĵµ
(PPT10)3£®ÊԱȽÏHTMLºÍXMLµÄ²î±ð¡£
¢Ù     XMLÊÇÓÃÀ´´æ·ÅÊý¾ÝµÄ¡£
¢Ú     XML²»ÊÇHTMLµÄÌæ´úÆ·£¬XMLÓëHTMLʱÁ½ÖÖ²»Í¬ÓÃ;µÄÓïÑÔ¡£
¢Û     XMLÊDZ»Éè¼ÆÓÃÀ´ÃèÊöÊý¾ÝµÄ ÖصãÊÇ£ºÊ²Ã´ÊÇÊý¾Ý£¬ÈçºÎ´æ·ÅÊý¾Ý¡£
¢Ü     HTMLÊDZ»Éè¼ÆÀ´ÏÔʾÊý¾ÝµÄ ÖصãÊÇ£ºÏÔʾÊý¾ÝÒÔ¼°ÈçºÎ¸üºÃµÄÏÔʾÊý¾Ý¡£
¢Ý     HTMLÊÇÓëÏÔʾÊý¾ÝÏà¹Ø¡£
¢Þ     XMLÊÇÓëÃèÊöÊý¾ÝÏà¹Ø¡£
(P13~16,PPT21) XMLµÄ²»×ãÖ®´¦ÓÐÓÐÄÄЩ£¿
¢Ù     XMLÊý¾ÝµÄ²åÈëÓëÐ޸ıȽÏÀ§ÄÑ¡£
¢Ú     XMLÊÇÒÔÎı¾ÐÎʽ±íÏÖÓë´¢´æ£¬Ð§Âʲ»¸ß¡£
¢Û     XMLÏ൱ÓÚÒ»¸öÊý¾Ý¿â£¬µ«È´Ã»ÓÐÊý¾Ý¿âÄÇÑù¾ßÓйÜÀíºÍ²éѯ¡£
¢Ü     XML²»ÄÜÌæ´úHTML¡£
¢Ý     XMLÊÇÔªËرê¼ÇÓïÑÔ£¬Ò×µ¼Ö²»Í³Ò»¡£
£¿£¿(P13)6£®XMLÓëHT


Ïà¹ØÎĵµ£º

jaxpÏÂÓÃDOM½øÐÐxmlÎĵµ½âÎö

jaxpÊÇsun¹«Ë¾µÄ½âÎöxmlÎĵµµÄapi,ËûÖ§³ÖÓÃdomºÍsaxÁ½ÖÖ·½·¨½âÎöÒ»¸öxmlÎĵµ.
dom·½·¨ÊǽâÎöÒýÇ潫Õû¸öxmlÎĵµ×°Ôص½ÄÚ´æÖÐ×÷Ϊһ¸ödocument¶ÔÏó,dom·½·¨µÃµ½Ò»¸ö¶ÔÏó¾ÍÖªµÀËùÓеĽڵã
Ôöɾ¸Ä²éºÜ·½±ã,ȱµãÊÇҪװÔØÕû¸öxmlÎĵµ,Èç¹ûxmlÎĵµºÜ´ó,ЧÂʾͱȽϵÍ
sax·½·¨ÊDzÉÓÃʼþ×÷ΪÇý¶¯µÄ,Óöµ½Ò»¸ö±êÇ©ÊÇÒ»¸öʼþ,¶Áµ½±ê ......

ÓÃWebService´«µÝXMLÊý¾Ý

WebService£¬¼òµ¥Ò»µã˵£¬¾ÍÊǸö¶ÔÍâµÄ½Ó¿Ú,ÀïÃæÓк¯Êý¿É¹©Íⲿ¿Í»§µ÷ÓÃ(×¢Òâ:ÀïÃæͬÑùÓпͻ§²»¿Éµ÷Óõĺ¯Êý).¼ÙÈôÎÒÃÇÊÇ·þÎñ¶Ë,ÎÒÃÇдºÃÁ˸öwebservice,È»ºó°ÑËü¸øÁË¿Í»§(ͬʱÎÒÃǸøÁËËûÃǵ÷ÓùæÔò),¿Í»§¾Í¿ÉÒÔÔÚ´Ó·þÎñ¶Ë»ñÈ¡ÐÅϢʱ´¦ÓÚÒ»¸öÏà¶Ô͸Ã÷µÄ״̬.¼´ÊÇ¿Í»§²»Á˽â(Ò²²»ÐèÒª)Æä¹ý³Ì,ËûÃÇÖ»»ñÈ¡Êý¾Ý. Webservice´«µ ......

Xml Schema

Standards
"DTD" was the first formalized standard, but is rarely used anymore.
"XDR" was an early attempt by Microsoft to provide a more comprehensive standard than DTD. This standard has pretty much been abandoned now in favor of XSD.
"XSD" is currently the de facto standard for describing XML d ......

¹ýÂËxmlÖеķǷ¨×Ö·û´®


Ò»°ãxmlÖÐÈç¹ûº¬ÓÐ&µÈ×Ö·û£¬¿ÉÒÔͨ¹ýCDATAÀ´¹ýÂË£¬µ«ÊǺ¬ÓÐһЩ²»ÈÏʶµÄÌØÊâ×Ö·ûʱºò¾Í»á²»Æð×÷Óã¬ÏÂÃæÊÇ´Ó±ðÈËÄǶùÄÃÀ´µÄÒ»¸ö¹ýÂË·½
·¨£¬¹ýÂËxmlÖеķǷ¨×Ö·û:
//XML±ê×¼¹æ¶¨µÄÎÞЧ×Ö½ÚΪ£º
/*
0×00 – 0×08
0×0b – 0×0c
0×0e – 0×1f
* ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ