Open XML£ºÒ»ÖÜÄê¼Ç
¿ÉÄÜÄúÒѾÌý˵ÁË£¬±¾ÖÜÊÇ Microsoft ÊÂÒµ²¿ºÜ¹Ø¼üµÄÒ»ÖÜ¡£ÔÚ±¾ÖÜÔçЩʱºò£¬ÎÒÃÇÐû²¼½«¹«¿ª·¢ÐÐ Microsoft Office 2010 Beta¡£ÄúÊÇ·ñÔøÏ£ÍûÓëÍŶÓÒ»ÆðÔÚ Word Öй²Í¬´´×÷Ò»·ÝÎĵµ£¿ÄúÊÇ·ñÔøÏ£ÍûÔÚ Excel ÖÐͬʱ·ÖÎö³É¶ÑµÄÊý¾Ý£¿»òÕßÔÚ PowerPoint ÑÝʾÎĸåÖÐÍ»ÆƶàýÌåµÄÏÞÖÆ£¿ÄÇô£¬¸Ï¿ìÊÔÊÔ Beta °æ±¾°É¡£
¶ÔÓÚ±ê×¼ÉçÇø£¬ÓÈÆäÊǶÔÓÚÎÒÃǵ±ÖдÓÊÂÎĵµ¸ñʽ¹¤×÷µÄ³ÉÔ±£¬±¾ÖÜÒ²ÊǹؼüµÄÒ»ÖÜ¡£±¾ÖÜÕýÖµ ISO/IEC 29500 ¸ñʽ£¨Ò²³Æ Open XML£©Ê״η¢²¼Ò»ÖÜÄêÖ®¼Ê¡£ÒòΪ¿ç Office µÄÇý¶¯³ÌÐò¸ºÔðÖ§³Ö Office 2010 ÖÐµÄ Open XML£¬ËùÒÔÎÒÏëÏÖÔÚÊÇÒ»¸öºÃ»ú»á£¬ÓÉÎÒÀ´ÏòÄúɹɹΪ֧³Ö Open XML ±ê×¼ÎÒÃÇÔÚ Office 2010 ÖÐËù×öµÄ¹¤×÷£¬Í¬Ê±·ÖÎöÒ»ÏÂÌá¸ß»¥²Ù×÷ÐÔÓëÎÒÃÇµÄ Office ´´ÐÂÄÜÁ¦ÈçºÎÃÜÇÐÏà¹Ø¡£
Office 2010 ÖÐµÄ Open XML Ö§³Ö
ÔÚÎĵµ¸ñʽ·½Ã棬ÿ¸öÈ˶¼ÔÚ˼¿¼Ò»¸öÖØ´óÎÊÌ⣬ÄǾÍÊÇ Office 2010 ½«Îª Open XML ÌṩºÎÖ̶ֳȵÄÖ§³Ö¡£ÔÚ´ËÎҷdz£¸ßÐ˵ØÐû²¼£¬Office 2010 ½«Ä¬ÈÏÉú³É·ûºÏ ISO/IEC 29500 ±ê×¼µÄ¹ý¶ÉÐÍÒ»ÖÂÀàÎļþ¡£
Ϊʹ Office 2010 Éú³É·ûºÏ ISO/IEC 29500 ±ê×¼µÄÎļþ£¬µÚÒ»²½ÒªÆÀ¹ÀÎÒÃÇÔÚ Office 2007 ÖÐÉú³ÉµÄÎļþ¡£¸Ã²úÆ·»áÉú³É ECMA-376 µÚÒ»°æÎļþ£¬Äú´ó¸Å»¹¼ÇµÃ£¬ECMA-376 µÚÒ»°æ¾ÍÊÇ ISO/IEC 29500 ±ê×¼µÄÇ°Éí¡£ÔÚʶ±ðÁËÓÉÓÚ±ê×¼ÖеÄȱÏÝ»ò¸ü¸ÄËùµ¼ÖµÄÓï·¨²î±ðºó£¬ÎÒÃÇÔÙ×ÅÊÖ½øÐбØÒªµÄ¸ü¸ÄÒÔʹÓï·¨·ûºÏ±ê×¼¡£
µ±ÈËÃÇÁ˽⵽ÎÒÃÇΪʹÓï·¨·ûºÏ±ê×¼¶ø±ØÐë×öµÄһЩ¸ü¸Äºó£¬´ó¶¼»á¸Ðµ½¾ªÆæ¡£¶àÊýÇé¿öÏ£¬¸ü¸ÄÊÇÓÉÓÚÌض¨ÇéÐÎϳöÏÖµÄһЩСȱÏÝËùÖ¡£ÎÒ×î°®¾ÙµÄÒ»¸öÀý×Ó¾ÍÊÇ Word 2007 ÖеÄÒ»¸öȱÏÝ£ºÔÚijЩÇé¿öÏ£¬Word »áÔÚ rFonts ÔªËØ֮ǰ д³ö oMath ÔªËØ£¬¶ø±ê×¼Ã÷È·Ö¸³ö£¬Ó¦ÔÚ rFonts ÔªËØÖ®ºó д³ö oMath ÔªËØ¡£ÕâÊÇÒ»¸öºÜÈÝÒ׾ͽâ¾öÁ˵ÄСÎÊÌ⣬ÎÒÃÇËù×öµÄ´ó²¿·Ö¸ü¸Ä¹¤×÷¶¼¾ßÓÐÕâÒ»Ìص㡣
ÓÉÓÚÎÒÃǸü¸ÄÁËËù׫дÎļþÖеÄһЩÓï·¨£¬Òò´ËÎÒÃÇ»¹×öÁËÏàÓ¦µÄ¹¤×÷£¬ÒÔÈ·±£Ê¹ÓÃÏÈÇ° Office °æ±¾µÄ¿Í»§¿ÉÒÔ¼ÌÐøʹÓÃÕâЩÐÂÓï·¨À´´¦ÀíÎļþ¡£Ê×ÏÈ£¬ÎÒÃÇÔÚ Office 2007 Service Pack 2 Öаüº¬ÁËһЩÐÞ²¹³ÌÐò£¬ÒÔÈ·±£³ÖÐø¼æÈÝÐÔ¡£Æä´Î£¬ÎÒÃÇ»¹¸üÐÂÁ˽Ͼɰ汾µÄ Office µÄ¼æÈÝÐÔ°ü¡£»»ÑÔÖ®£¬Èç¹ûÄúÓµÓÐ Office 2007 SP2 »ò×îеļæÈÝ°ü£¬¾ÍÄÜÓë Office 2010 Î޷컥²Ù×÷¡£
ÎÒÃÇËù×öµÄ¹¤×÷²»½ö½öÏÞÓÚÈ·±£ËùÉú³ÉµÄÎļþ·ûºÏÓï·¨¡£ÎÒÃÇ»¹Éó²éÁËÔÚ Open XML µÄ ISO Åú×¼¹ý³ÌÖУ¬Óɸ÷¸ö¹ú¼Ò/µØÇø»ú¹¹Ìá³öµÄ¿ÉÐн¨Ò飬´ÓÖÐÑ¡³öһС²¿·Ö×¼±¸ÔÚ Off
Ïà¹ØÎĵµ£º
jdom¶ÔxmlÎļþµÄ¶Áд²Ù×÷
1. ¶ÁÈ¡XMLÎļþJavaÔ´´úÂ룺
1) xmlÎļþ£º
<?xml version="1.0" encoding="gb2312"?>
<messages>
<message id="1">
< ......
XML DTD ÈëÃÅ(2009-12-14 09:08:49)
±êÇ©£ºÔÓ̸
DTDʵ¼ÊÉÏ¿ÉÒÔ¿´×÷Ò»¸ö»ò¶à¸öXMLÎļþµÄÄ£°å£¬ÕâЩXMLÎļþÖеÄÔªËØ¡¢ÔªËصÄÊôÐÔ¡¢ÔªËصÄÅÅÁз½Ê½/˳Ðò¡¢ÔªËØÄܹ»°üº¬µÄÄÚÈݵȣ¬¶¼±ØÐë·ûºÏDTDÖеĶ¨Òå¡£XMLÎļþÖеÄÔªËØ£¬¼´ÎÒÃÇËù´´½¨µÄ±ê¼Ç£¬ÊǸù¾ÝÎÒÃÇÓ ......
xmlÎļþ
£¼?xml version="1.0" encoding="GB2312"?£¾
£¼RESULT£¾
£¼VALUE£¾
¡¡¡¡ £¼NO£¾A1234£¼/NO£¾
¡¡¡¡ £¼ADDR£¾ËÄ´¨Ê¡XXÏØXXÕòXX·X¶ÎXXºÅ£¼/ADDR£¾
£¼/VALUE£¾
£¼VALUE£¾
¡¡¡¡ £¼NO£¾B1234£¼/NO£¾
¡¡ ¡¡£¼ADDR£¾ËÄ´¨Ê¡XXÊÐXXÏçXX´åXX×飼/ADDR£¾
£¼/VALUE£¾
£¼/RESULT£¾
ÐèҪʲô°ü×Ô¼ºµ½ÍøÉÏ ......
<?xml version="1.0" encoding="UTF-8"?>
<root>
<person id="1">
<username >xiaoma</username>
<password>xiaoma</password>
</person>
<person id="2">
<username>manager</username> ......
(Ò») ÏȽ²Ò»ÏÂXMLÖеÄÎïÊâ×Ö·û£¬ÊÖ¶¯ÌîдʱעÒâһϡ£
×Ö·û ×Ö·ûʵÌå
& ......