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

ÔõôÓÃole²Ù×÷word±£´æxml¸ñʽ£¿


WordApp.OlePropertyGet("ActiveDocument").OleFunction("SaveAs","c:\\test.html",wdFormatHTML);//Áí´æÎªhtml¸ñʽ
¿ÉÒÔÁí´æhtml¸ñʽ£¬µ«Êǽ«wdFormatHTML»»³ÉwdFormatXMLºóBCB¾Í²»Ö§³ÖÁË£¬Ôõô½â¾ö£¿
ÓôÃÆ°¡£¬¸Õ·¢³öÀ´Í»È»ÓÖ½â¾öÁË

¼Ó·ÖûÉÌÁ¿

¿¶¿®É¢·Ö£¬ÓÐÒªµÄÀ´½Ó

´ËµØ£¬·Ö¶à£¬^^,ËÙ來£¡£¡

½â¾ö¾ÍºÃ£¡£¡

²ä·Ö
{{


Ïà¹ØÎÊ´ð£º

¶Ôxml½øÐнâÎö±àÂëÎÊÌâ

ÎÒµÄXMLÅäÖÃÎļþÀïÃæÓÐÖÐÎÄ×Ö·û,Ò²ÓÐÀàËÆÓÚ=~@!ÕâÖÖ×Ö·û,encodeingÉèÖÃΪgb2312  ºÍ  unicode,unicode  UTF-8,½á¹û¶¼Ìáʾϵͳ´íÎó,,,Èç¹ûÉèÖÃΪgb2312µÄ»°,È¥µô=!@ÕâÖÖ×Ö·û,Ò»Çж¼Õý³£.
ÓÉÓÚÎ ......

c£«£«ÅжÏxmlºÏ·¨ÐÔ

ÈçºÎÓÃc£«£«³ÌÐòÅжÏxmlÖи÷ÔªËØµÄºÏ·¨ÐÔ£¬Õë¶Ô¸ñʽÉϵĺϷ¨ÐÔ£¬·µ»Ø0»òÕß1
ʹÓÃMSXML£¬¼ÓÔØXMLºó£¬Ê¹ÓÃvalidate·½·¨ÑéÖ¤

¾Ý˵ÄãÒªÔÚlinuxÏÂʹÓá£
linuxÏ¿ÉÒÔʹÓÃLibxml2À´²Ù×÷xml£¬Í¬ÑùÌṩÁËvalidateµÄ·½·¨ ......

XML轉DataSet¡¢DataTable

ÎÒÏëÒªÒ»個ͨÓõÄxml轉DataTable£¬xmlÎļþ來×Ô²»Í¬µÄÎÄ檔£¬
ÀýÈ磺excelÎÄ檔Áí´æ為xmlÎÄ檔Ôõô°Ñ這個xmlÎÄ檔轉換³ÉDataSet¡¢DataTable ......

XML Schema ÎÊÌâ

ÇóÖú¸÷λ´óϺ£¬Ñ§Éú³É¼¨µ¥XML SchemaµÄÉè¼Æ,XMLÎĵµµÄÉè¼Æ£¬°üº¬µÄÖ÷ÒªÐÅÏ¢£ºÑ§ºÅ¡¢Ñ§ÉúÐÕÃû¡¢Ïµ²¿¡¢°à¼¶¡¢¿¼ÊÔÈÕÆÚ¡¢ÈονÌʦ¡¢Ñ§·Ö¡¢Ñ§Ê±¡¢ÐÞϰÀà±ð¡¢Java³ÌÐòÉè¼Æ³É¼¨,ÍøÂç»ù´¡ÖªÊ¶³É¼¨¡¢ÍøÒ³ÖÆ×÷³É¼¨¡¢Èí¼þ¹¤³Ì³ ......

ÇóJavaÈçºÎʵÏÖxmlÎļþ

ÒÑÖªÎļþ1.xmlºÍÊý¾ÝÎļþdb.xml£¬ÈçºÎÓÃjava±àд³ÌÐò£¬µÃ³ö2.xmlÎļþ£¿
1.ÒÑÖªxmlÎļþ 1.xml½á¹¹ÈçÏ£º
<cs>
  <cs name="cs1" details="This is cs1" country="China&q ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ