Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 ......

ÔÚXMLÎļþÖжÁÈ¡ÊôÐÔÎļþ£¨.properties£©ÖеÄÔªËØÖµ

ÔÚXMLÎļþÖжÁÈ¡ÊôÐÔÎļþ£¨.properties£©ÖеÄÔªËØÖµ£º
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/conf/dataAccessContext.xml</param-value>
</context-param>

<listener>
<listener-class>
......

xmlºÍjava BeanµÄÖ±½Óת»»£¬Xmap

package test;
import java.util.ArrayList;
import java.util.List;

import org.nuxeo.common.xmap.annotation.XNode;
import org.nuxeo.common.xmap.annotation.XNodeList;
import org.nuxeo.common.xmap.annotation.XObject;


/**
* Book ʵÌå¶ÔÏ󣬴˴¦ÓÃXMap×¢½â
* @author Administra ......

¡¾×ª¡¿+¡¾¸Ä¡¿DOM4J´¦ÀíXML´øÓÐÃüÃû¿Õ¼äµÄËÄÖÖ·½·¨

µ±Äã½âÎöXMLʱ£¬ÊÇ·ñ»áÒòΪÃüÃû¿Õ¼äµÄ´æÔÚ¶ø²»Äܵó¥ËùÔ¸ÄØ£¿
java·½Ã棬ºÃ¶àÈËÍƼöÓÃdom4j´¦Àíxml£¬ÎÒÒ²¾Í˵˵ÔÚdom4jÉÏ´¦Àí´øÃüÃû¿Õ¼äµÄxml
xml´úÂëexample: ÔÙ˵ǰÈýÖÖ·½·¨£¬Ò²ÊÇ´ÓÍøÉÏ¿´À´µÄ¡£http://www.cnblogs.com/patrickchen/articles/1188920.html
D: eport.css
µÚÒ»¸ö·½°¸.ÉèÖÃÄãµÄxpathµÄÃüÃû¿Õ¼äsetNamesp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ