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

flexѧϰ flex¶ÁÈ¡xmlÎļþ

Ô´xmlÎļþ
 <?xml version="1.0" encoding="iso-8859-1"?>
<books>
<stock>
<name>The Picasso Code</name>
<author>Dan Blue</author>
<category>Fiction</category>
<description>Cubist paintings reveal a secret society of people who really look like that</description>
</stock>
<stock>
<name>Here With the Wind</name>
<author>Margaret Middle</author>
<category>Fiction</category>
<description>In this edition, nobody in the south really gives a damn</description>
</stock>
<stock>
<name>Harry Potluck and the Chamber of Money</name>
<author>J.K. Roughly</author>
<category>Fiction</category>
<description>Young wizard finds the real pot-of-gold and retires</description>
</stock>
<stock>
<name>No Expectations</name>
<author>Chuck Dickens</author>
<category>Fiction</category>
<description>Dickens finally reveals what he really thinks of people</description>
</stock>
<stock>
<name>Atlas Stretched</name>
<author>Ann Rind</author>
<category>Fiction</category>
<description>Great inventors finally just take the money and run</description>
</stock>
<stock>
<name>Recycling Software</name>
<author>Big Gates</author>
<category>Nonfiction</category>
<description>How to just change the name and interface of the same old software and sell it as new</description>
</stock>
<stock>
<name>Make Tons of Money</name>
<author>Donald Rump</author>
<category>Nonfiction</category>
<description>Rump explains how he became a billionaire while constantly declaring bankruptcy</desc


Ïà¹ØÎĵµ£º

FLEX MXML×ÖÌå´óСÉèÖÃ

ÒòΪmyeclipseµÄbugÎÊÌ⣬һʱ¾¹È»Ã»ÓÐÕÒµ½ÄÜÐ޸ĵĵط½£¬ÆäʵºÜ¼òµ¥£¬²½ÖèÈçÏ£º
myeclipse-->window-->Preference-->General-->Appearence-->Colors and Fonts-->Basic-->Text Font
È»ºóµã»÷change,Ð޸ijÉ×Ô¼ºÐèÒªµÄ×ÖÌå´óС£¬²»¹ýÐ޸ı£´æºó£¬·¢ÏÖÐÞ¸ÄʱÎÞЧµÄ£¬Ã»ÓÐÆð×÷Óá£
Õâʱ°ÑËüÔٸijÉ10º ......

Flex ÃüÁîÉú³É×ÊÔ´Îļþ


--Ó¢ÎÄ
mxmlc -locale=en_US -allow-source-path-overlap=true
-include-resource-bundles=mf,collections,containers,controls,core,effects,formatters,logging,SharedResources,skins,states,styles,validators
-source-path=D:/UBAS_HOME/ClientCode/demo/client/code/MainFrame/assets/locale/en_US
-output=E:/ ......

Spring XMLÅäÖõÄ12¸ö¼¼ÇÉ

SpringÊÇÒ»¸öÇ¿ÓÐÁ¦µÄjava³ÌÐò¿ò¼Ü£¬Æä±»¹ã·ºÓ¦ÓÃÓÚjavaµÄ³ÌÐòÖС£ËüÓÃPOJOÌṩÁËÆóÒµ¼¶·þÎñ¡£SpringÀûÓÃÒÀÀµ×¢Èë¿ÉÒÔ»ñµÃ¼òµ¥¶øÓÐЧµÄ²âÊÔÄÜÁ¦¡£Spring beans£¬ÒÀÀµ¹Øϵ£¬ÒÔ¼°·þÎñËùÐèÒªµÄbean¶¼½«ÔÚÅäÖÃÎļþÖÐÓèÒÔÃèÊö£¬ÅäÖÃÎļþÒ»°ã²ÉÓÃXML¸ñʽ¡£È»¶øXMLÅäÖÃÎļþÈß³¤¶ø²»Ò×ʹÓã¬ÔÚÄã½øÐÐÒ»¸öʹÓÃÁË´óÁ¿beanµÄ´óÏîÄ¿ÖÐËü ......

XStream xml json ת»»

1¡¢Ê×ÏÈÏÂÔØ xstream.jarºÍjettison.jar£¨×ª»»ÎªjsonʱÓõ½£©£¬²¢ÒýÈë¸Ã°ü¡£
2¡¢¿´ÈçÏ´úÂë°É£º
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.json.JettisonMappedXmlDriver;
import c ......

XMLÖеķǷ¨×Ö·û¼°¹ýÂË·½·¨

xmlÖÐÓÐÒÔÏÂ×Ö·û²»ÄܳöÏÖ£¬·ñÔò£¬xml½«²»Äܱ»ÕýÈ·½âÎö£º
&><'
Èç¹ûÔÚxmlÖгöÏÖÁË·Ç·¨×Ö·ûÄرØÐ뽫Æä¹ýÂ˵ô£¡¹ýÂ˵ķ½·¨ºÜ¼òµ¥£¬Ìæ»»¾Í¿ÉÒÔÁË£º
ÀýÈçÔÚphp xml_parser_create ÖУ¬¾Í¿ÉÒÔÕâô×ö£º
$parser = xml_parser_create(); //´´½¨Ò»¸öparser±à¼­Æ÷
xml_set_element_handler($parser, "startElement", " ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ