ʹÓÃXMLµÄ³¡ºÏ
ÔںܶàÑÐÌÖ»áºÍÅàѵ°àÉÏÎÒÓöµ½¹ýÐí¶àÈË£¬ËûÃÇ»¹²»Ã÷°×ΪʲôҪʹÓÃXMLÒ²²»ÖªµÀÈçºÎÔÚËûÃǵÄÓ¦ÓÃÖÐʹÓÃXML¡£Ò»Ð©À´×ÔÖîÈçGartner¹«Ë¾µÄ±¨¸æ½¨Òé˵£¬ÉÌÒµ¹«Ë¾²»ÄÜÔÙ×ö¾ÖÍâÈËÁË£¬²»ÄܶÔXMLÖÃÖ®²»Àí¡£Èç¹ûÄ㻹²»Çå³þXMLµ½µ×ÓÐʲôºÃ´¦µÄ»°£¬Äã²¢²»ÊÇΨһµÄÈË¡£
ÎÒ¾ö¶¨°ÑÓëÈËÃǺÍýÌå¹ØÓÚXML»°ÌâµÄ½»Ì¸ÕûÀí³ÉÎÄ£¬ÁгöXMLÔÚÓ¦ÓÃÖеÄÎå¸ö×îÁîÈËϲ°®µÄÓ÷¨¡£¾¡¹ÜÕâЩ²¢²»ÄÜ°üº¬XMLµÄËùÓÐDZÔÚÓ¦Óã¬ÖÁÉÙÊÇЩ×îÖØÒªµÄÁìÓò¡£
1¡¢Êý¾Ý½»»»
ÓÃXMLÔÚÓ¦ÓóÌÐòºÍ¹«Ë¾Ö®¼ä×÷Êý¾Ý½»»»ÒѲ»ÊÇʲôÃØÃÜÁË£¬ºÁÎÞÒÉÎÊÓ¦±»ÁÐΪµÚһλ¡£ÄÇôΪʲôXMLÔÚÕâ¸öÁìÓòÀïµÄµØλÕâôÖØÒªÄØ£¿ÔÒò¾ÍÊÇXMLʹÓÃÔªËغÍÊôÐÔÀ´ÃèÊöÊý¾Ý¡£ÔÚÊý¾Ý´«Ë͹ý³ÌÖУ¬XMLʼÖÕ±£ÁôÁËÖîÈ縸/×Ó¹ØϵÕâÑùµÄÊý¾Ý½á¹¹¡£¼¸¸öÓ¦ÓóÌÐò¿ÉÒÔ¹²ÏíºÍ½âÎöͬһ¸öXMLÎļþ£¬²»±ØʹÓô«Í³µÄ×Ö·û´®½âÎö»ò²ð½â¹ý³Ì¡£
Ïà·´£¬ÆÕͨÎļþ²»¶Ôÿ¸öÊý¾Ý¶Î×öÃèÊö(³ýÁËÔÚÍ·ÎļþÖÐ)£¬Ò²²»±£ÁôÊý¾Ý¹Øϵ½á¹¹¡£Ê¹ÓÃXML×öÊý¾Ý½»»»¿ÉÒÔʹӦÓóÌÐò¸ü¾ßÓе¯ÐÔ£¬ÒòΪ¿ÉÒÔÓÃλÖÃ(ÓëÆÕͨÎļþÒ»Ñù)»òÓÃÔªËØÃû(´ÓÊý¾Ý¿â)À´´æÈ¡XMLÊý¾Ý¡£
2¡¢Web·þÎñ
Web·þÎñÊÇ×îÁîÈ˼¤¶¯µÄ¸ïÃüÖ®Ò»£¬ËüÈÃʹÓò»Í¬ÏµÍ³ºÍ²»Í¬±à³ÌÓïÑÔµÄÈËÃÇÄܹ»Ï໥½»Á÷ºÍ·ÖÏíÊý¾Ý¡£Æä»ù´¡ÔÚÓÚWeb·þÎñÆ÷ÓÃXMLÔÚϵͳ֮¼ä½»»»Êý¾Ý¡£½»»»Êý¾Ýͨ³£ÓÃXML±ê¼Ç£¬ÄÜʹÐÒéÈ¡µÃ¹æ·¶Ò»Ö£¬±ÈÈçÔÚ¼òµ¥¶ÔÏó´¦ÀíÐÒé(Simple Object Access Protocol, SOAP)ƽ̨ÉÏ¡£
SOAP¿ÉÒÔÔÚÓò»Í¬±à³ÌÓïÑÔ¹¹ÔìµÄ¶ÔÏóÖ®¼ä´«µÝÏûÏ¢¡£ÕâÒâζ×ÅÒ»¸öC#¶ÔÏóÄܹ»ÓëÒ»¸öJava¶ÔÏó½øÐÐͨѶ¡£ÕâÖÖͨѶÉõÖÁ¿ÉÒÔ·¢ÉúÔÚÔËÐÐÓÚ²»Í¬²Ù×÷ϵͳÉϵĶÔÏóÖ®¼ä¡£DCOM, CORBA»òJava RMIÖ»ÄÜÔÚ½ôÃÜñîºÏµÄ¶ÔÏóÖ®¼ä´«µÝÏûÏ¢£¬SOAPÔò¿ÉÔÚËÉñîºÏ¶ÔÏóÖ®¼ä´«µÝÏûÏ¢¡£
3¡¢ÄÚÈݹÜÀí
XMLÖ»ÓÃÔªËغÍÊôÐÔÀ´ÃèÊöÊý¾Ý£¬¶ø²»ÌṩÊý¾ÝµÄÏÔʾ·½·¨¡£ÕâÑù£¬XML¾ÍÌṩÁËÒ»¸öÓÅÐãµÄ·½·¨À´±ê¼Ç¶ÀÁ¢ÓÚƽ̨ºÍÓïÑÔµÄÄÚÈÝ¡£
ʹÓÃÏóXSLTÕâÑùµÄÓïÑÔÄܹ»ÇáÒ׵ؽ«XMLÎļþת»»³É¸÷ÖÖ¸ñʽÎļþ£¬±ÈÈçHTML, WML, PDF, flat file, EDI, µÈµÈ¡£XML¾ßÓеÄÄܹ»ÔËÐÐÓÚ²»Í¬ÏµÍ³Æ½Ì¨Ö®¼äºÍת»»³É²»Í¬¸ñʽĿ±êÎļþµÄÄÜÁ¦Ê¹µÃËü³ÉΪÄÚÈݹÜÀíÓ¦ÓÃϵͳÖеÄÓÅÐãÑ¡Ôñ¡£
4¡¢Web¼¯³É
ÏÖÔÚÓÐÔ½À´Ô½¶àµÄÉ豸Ҳ֧³ÖXMLÁË¡£Ê¹µÃWeb¿ª·¢ÉÌ¿ÉÒÔÔÚ¸öÈ˵ç×ÓÖúÀíºÍä¯ÀÀÆ÷Ö®¼äÓÃXMLÀ´´«µÝÊý¾Ý¡£
Ϊʲô½«XMLÎı¾Ö±½ÓËͽøÕâÑùµÄÉ豸ȥÄØ£¿ÕâÑù×÷µÄÄ¿µÄÊÇÈÃÓû§¸ü¶àµØ×Ô¼ºÕÆÎÕÊý¾ÝÏÔʾ·½Ê½£¬¸üÄÜÌåÑ鵽ʵ¼ùµÄ¿ìÀÖ¡£³£¹æµÄ¿Í»§/·þÎñ(C/S)·½Ê½ÎªÁË»ñµÃÊý¾ÝÅÅÐò»ò¸ü»»ÏÔʾ¸ñʽ£¬±ØÐë
Ïà¹ØÎĵµ£º
·½·¨Ò»£º
²ÉȡͨÓõÄbase64±àÂ뷽ʽ£¬È¡Ê±½âÂë´æʱ¼ÓÂë¡£
ëÀÏʦÌṩÁËÍêÕûµÄ±àÂë´úÂ룬ÇÒЧÂʺܸߡ£
unit Base64;
interface
uses SysUtils, Classes;
type
{$IFDEF UNICODE}
Base64String = AnsiString;
{$ELSE}
Base64String = strin ......
Çë¿´ÏÂÃæµÄʾÀý£º
<person sex="female">
<firstname>Anna</firstname>
<lastname>Smith</lastname>
</person>
<person>
<sex>female</sex>
<firstname>Anna</firstname>
<lastname>Smith</lastname>
</person> ......
class ImportExportToExcel
{
public class ImportExportToExcel
{
private string strConn;
private System.Windows.Forms.OpenFileDialog openFileDlg = new System.Windows.Forms.OpenFileDialog();
private System.Windows.Forms.SaveFileDialog saveFi ......
×Ý×ø±êºº×Ö˵Ã÷ yAxisName='̨' rotateYAxisName='0'
FusionCharts µÄ XML±êÇ©ÊôÐÔÓÐÒ»ÏÂËÄÖÖÊý¾ÝÀàÐÍ
* Boolean - ²¼¶ûÀàÐÍ£¬Ö»ÄÜΪ1»òÕß0¡£ÀýÈ磺<graph showNames=’1′ >
* Number - Êý×ÖÀàÐÍ£¬Ö»ÄÜΪÊý×Ö¡£ÀýÈ磺<graph yAxisMaxValue=’200′ >
* String - ×Ö·û´®ÀàÐÍ£¬Ö ......