Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : xml

XML Schema ÎÊÌâ

ÇóÖú¸÷λ´óϺ£¬Ñ§Éú³É¼¨µ¥XML SchemaµÄÉè¼Æ,XMLÎĵµµÄÉè¼Æ£¬°üº¬µÄÖ÷ÒªÐÅÏ¢£ºÑ§ºÅ¡¢Ñ§ÉúÐÕÃû¡¢Ïµ²¿¡¢°à¼¶¡¢¿¼ÊÔÈÕÆÚ¡¢ÈονÌʦ¡¢Ñ§·Ö¡¢Ñ§Ê±¡¢ÐÞÏ°Àà±ð¡¢Java³ÌÐòÉè¼Æ³É¼¨,ÍøÂç»ù´¡ÖªÊ¶³É¼¨¡¢ÍøÒ³ÖÆ×÷³É¼¨¡¢Èí¼þ¹¤³Ì³É¼¨µÈ£¬ÐÂѧXML£¬¶ÔÀïÃæµÄ¶¼²»Ì«¶®£¬¿ÒÇë¸÷λ¸ßÊÖÖ¸µãÖ¸µã
²Î¿¼Õâƪ£ºhttp://blog.csdn.net/cds27/archive ......

ÓйØXMLµÄ¶ÁÈ¡ÎÊÌâ

ÎÒÏÖÔÚ°Ñ´ÓÊý¾Ý¿âÀï²é³öµÄÊý¾ÝдÈëµ½Ò»¸öXMLÎļþÖУ¬È»ºó´ÓÀïÃæÈ¡³öÊý¾Ý£¿
ÇëÎÊÔõôŪµÄ£¿
Êý¾ÝÈ¡µ½datasetÀдxml¾Ídataset.writexml£¨Â·¾¶£©¡£ÔÙ¶Á¾ÍÊÇdataset=dataset.readxml£¨Â·¾¶£©


http://topic.csdn.net/u/20091020/11/65c8736a-145f-4577-b6b9-c6f1ae09cded.html

²Î¿¼

C# code:
using Sy ......

XMLÈçºÎ¼ÓÃÜ£¿

XML code:

<?xml version="1.0"?>
<XmlServer>
<server>.</server>
<Database>BookDB</Database>
<user>sa</user>
<pwd>sa</pwd>
</XmlServer>


ÈçÌ⣬ÎÒÏÖÔÚÓÐÒ»¸ö±£´æÊý¾Ý¿âÕʺźÍÃÜÂëµÈÐÅÏ¢µÄXMLÎļþ£¬µ«ÎÒ²»Ïë ......

xml ÖйØÓÚencodingÓëÎı¾Îļþ±àÂëµÄÒÉ»ó

<?xml version="1.0" encoding="UTF-8" ?>
xmlÖдæµÄÊÇÎı¾
ÄÇ"encoding="UTF-8"ÊÇ˵´ËÎļþÓõÄ×Ö·û¼¯ÊÇUTF-8"
±íʾµÄÊÇÕâ¸öÎı¾ÓõÄ×Ö·û¼¯ÖÐUTF8
ÄÇÈç¹ûÕâ¸öÎı¾ÎļþµÄ±àÂë¸ñʽÊÇGB2312(±È·½ËµÊÇÊÇÓÃwinϵļÇʱ¾Ä¬ÈÏ·½Ê½±£´æµÄ),ÄÇÕâЩ±àÂ뷽ʽ¶¼Ó°Ïìʲô? ......

ÐèÒªÉú³Éxml£¬°Ñ<¶Á³ÉÁË&lt; ¸ÄÔõô°ì£¿

ÎÒ´ÓÊý¾Ý¿âÀïÃæÈ¡³ö´øÓÐ <font>ÕâÑùµÄhtmlÑùʽºÍ±êÇ©
µ«ÊÇÉú³Éxmlºó°ÑÎÒµÄ <תÒå³ÉÁË&lt;
¸Â¸Â
¿ÉÒ԰ѸÃÎı¾·Åµ½ CDATA½ÚµãÖÐ

±»±àÂëÁËßÂ,Èç¹ûÄãÓÃJavaµÄ»°,Ö±½ÓÓÃXMLDecoder½âÂë¾ÍÐÐÁË,Èç¹ûÊDZðµÄ½â,×ܹ²¾Í5¸ö×Ö·û»áתÒå
"    &quot;
'    &apos;
......

ÇóÒ»¸ö½â¾ö·½°¸£¬¿çÕ¾XMlÊý¾Ý½»»»·½ÃæµÄ

Òò¹«Ë¾ÒµÎñÐèÇó£¬Ðèͨ¹ýÍøÕ¾»ñÈ¡¿Í»§µÄһЩ×ÊÁÏÐÅÏ¢¡£Îª·½±ã¿Í»§£¬ÎÒÃÇÕâ±ßÐèÒªÉè¼ÆÒ»¸öͳһµÄ½Ó¿ÚÎĵµ£¬ÓÃÀ´ÔÚÎÒÃÇÍøÕ¾ºÍ¿Í»§ÍøÕ¾½»»»Êý¾Ý£¬³õ²½µÄÏë·¨ÊÇ¿Í»§ÍøÕ¾°´ÎÒÃÇÖ¸¶¨µÄ¸ñʽÉú³ÉXMLÎĵµ£¬È»ºóÎÒÃÇÈ¥¶ÁÈ¡¡£ÏÖÔÚµÄÎÊÌ⣬ÎÒÔõô±£Ö¤¿Í»§µÄÊý¾Ý²»»áËæÒâ±»ÇÔÈ¡£¬ÒòΪÎÒ¿ÉÒÔ¶Á±ðÈËÒ²¿ÉÒÔ¶Á£¬ÓÐûºÃµÄ·ÃÎÊ¿ØÖÆ·½·¨£¬Ö»ÔÊÐíÎ ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [122] [123] [124] [125] 126 [127] [128] [129] [130] [131]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ