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

FusionCharts µÄXML±êÇ©ÊôÐÔ

×Ý×ø±êºº×Ö˵Ã÷  yAxisName='̨' rotateYAxisName='0'
FusionCharts µÄ XML±êÇ©ÊôÐÔÓÐÒ»ÏÂËÄÖÖÊý¾ÝÀàÐÍ
* Boolean - ²¼¶ûÀàÐÍ£¬Ö»ÄÜΪ1»òÕß0¡£ÀýÈ磺<graph showNames=’1′ >
* Number - Êý×ÖÀàÐÍ£¬Ö»ÄÜΪÊý×Ö¡£ÀýÈ磺<graph yAxisMaxValue=’200′ >
* String - ×Ö·û´®ÀàÐÍ£¬Ö»ÄÜΪ×Ö·û´®¡£ÀýÈ磺 <graph caption=’My Chart’ >
* Hex Color Code - Ê®Áù½øÖÆÑÕÉ«´úÂ룬ǰ±ßûÓÐ’#’.ÀýÈ磺 <graph bgColor=’FFFFDD’ >
XMLÖеıêÇ©ºÍÊôÐÔÓУº
<graph> Ëù¾ßÓеÄÊôÐÔ
flash±³¾°²ÎÊý£º
* bgColor=”HexColorCode” : ÉèÖÃflashµÄ±³¾°ÑÕÉ«
* bgAlpha=”NumericalValue(0-100)” : ÉèÖñ³¾°µÄ͸Ã÷¶È
* bgSWF=”Path of SWF File” : ÉèÖÃÒ»¸öÍⲿµÄFlash ΪflashµÄ±³¾°
ͼ±í±³¾°²ÎÊý£º
* canvasBgColor=”HexColorCode” : ÉèÖÃͼ±í±³¾°µÄÑÕÉ«
* canvasBaseColor=”HexColorCode” : ÉèÖÃͼ±í»ù²¿µÄÑÕÉ«
* canvasBaseDepth=”Numerical Value” : ÉèÖÃͼ±í»ù²¿µÄ¸ß¶È
* canvasBgDepth=”Numerical Value” : ÉèÖÃͼ±í±³¾°µÄÉî¶È
* showCanvasBg=”1/0″ : ÉèÖÃÊÇ·ñÏÔʾͼ±í±³¾°
* showCanvasBase=”1/0″ : ÉèÖÃÊÇ·ñÏÔʾͼ±í»ù²¿
ͼ±íºÍÖáµÄ±êÌâ
* caption=”String” : ͼ±íÉÏ·½µÄ±êÌâ
* subCaption=”String” : ͼ±íÉÏ·½µÄ¸±±êÌâ
* xAxisName= “String” : XÖáµÄÃû×Ö
* yAxisName= “String” : yÖáµÄÃû×Ö
ͼ±íÊýÁ¿ÖµµÄÏÞÖÆ
* yAxisMinValue=”value”: yÖá×îСֵ
* yAxisMaxValue=”value”: yÖÛ×î´óÖµ
ͨÓòÎÊý
* shownames=”1/0″ : ÉèÖÃÊÇ·ñÔÚxÖáÏÂÏÔʾ<set>ÀïÖ¸¶¨µÄname
* showValues=”1/0″ : ÉèÖÃÊÇ·ñÔÚÖùÐÍͼ»ò±ýÐÍͼÉÏÏÔʾÊý¾ÝµÄÖµ
* showLimits=”1/0″ : ÉèÖÃÊÇ·ñÔÚͼ±íµÄyÖá×ø±êÉÏÏÔʾ×î´ó×îСµÄÊý¾ÝÖµ
* rotateNames=”1/0″ : ÉèÖÃxÖáϵÄname ÊÇˮƽÏÔʾ»¹ÊÇ´¹Ö±ÏÔʾ
* animation=”1/0″ : ÉèÖÃÖùÐÍͼµÄÏÔʾÊÇ·ñÊǶ¯»­ÏÔʾ
×ÖÌåÊôÐÔ
* baseFont=”FontName” : ÉèÖÃ×ÖÌåÑùʽ
* baseFontSize=”FontSize” : ÉèÖÃ×ÖÌå´óС
* baseFontColor=”HexColo


Ïà¹ØÎĵµ£º

VSÖÐʹÓÃTinyXml²Ù×÷xmlÎļþ

µ½http://sourceforge.net/projects/tinyxml/ÏÂÔØTinyXmlµÄ¹Ù·½Àý×Ó£¬
ÀïÃæÓкü¸¸öÎļþ£¬ÎÒÃǰÑ
tinyxml.h
tinystr.h
tinystr.cpp
tinyxml.cpp
tinyxmlparser.cpp
tinyxmlerror.cpp
Õ⼸¸öÎļþ°üº¬µ½ÎÒÃǵŤ³ÌÄÚ¡£
Òª°üº¬Í·Îļþ #include "tinyxml.h"
ÕâÓþͿÉÒÔ¿ªÊ¼Ê¹ÓÃtinyxml¿ªÊ¼²Ù×÷xmlÎļþÁË£¬¾ßÌåµÄ²Ù×÷· ......

DataTable.Select½øÐÐXMLÊý¾ÝµÄ²éѯ

×î½üÔÚ²©¿ÍÔ°´úÂëµÄÖØ¹¹ÖÐ, ÎÒ·¢¾õÓÃDataTable.Select½øÐÐXMLÊý¾ÝµÄ²éѯҲÊÇͦ·½±ãµÄ¡£
±ÈÈçÎÒÃǸù¾ÝUrlÖвÎÊýÖµ²éѯXMLÊý¾ÝÖÐÏàÓ¦½ÚµãµÄÊý¾Ý¡£
¼ÙÈçÎÒÃÇÓÐÕâÑùµÄXmlÊý¾ÝÎļþCatalog.xml:
<Navigation>
      <Catalog title="·Ç¼¼ÊõÇø" url="default.aspx?cate=2" rss="MainFeed.as ......

js ¶ÁÈ¡xmlÎĵµ

<html>
<head>
<title>XML Demo</title>
</head>
<body>
<script language="javascript">
function window.onload()
{
var domXML=new ActiveXObject("Microsoft.xmldom");
domXML.load("aTest.xml");
var myRoot=domXML.documentElement;
var myNodes2=myRoot.child ......

¹ØÓÚXMLÖÐ×Ö½ÚдÈëÁ÷×Ö¶ÎʱµÄ˵Ã÷

·½·¨Ò»£º
      ²ÉȡͨÓõÄbase64±àÂ뷽ʽ£¬È¡Ê±½âÂë´æÊ±¼ÓÂë¡£
ëÀÏʦÌṩÁËÍêÕûµÄ±àÂë´úÂ룬ÇÒЧÂʺܸߡ£
unit Base64;

interface

uses SysUtils, Classes;

type
{$IFDEF UNICODE}
Base64String = AnsiString;
{$ELSE}
Base64String = strin ......

XML ÊôÐÔvsÔªËØ

Çë¿´ÏÂÃæµÄʾÀý£º
<person sex="female">
<firstname>Anna</firstname>
<lastname>Smith</lastname>
</person>
<person>
<sex>female</sex>
<firstname>Anna</firstname>
<lastname>Smith</lastname>
</person> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ