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
Ïà¹ØÎĵµ£º
<mce:script language="javascript" type="text/javascript"><!--
//ÐèÒª¶ÁÈ¡µÄxmlÎļþ
var uRl = "jsReadXml.xml";
var xmlDoc;
//³õʼ»¯£¬¸øÉÏÊö¶¨Òå±äÁ¿¸³Öµ
// function showcurcity(){
if(window.ActiveXObject)
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM&q ......
Silverlight×÷ΪһÃÅм¼ÊõÍÆ³öÒѾÈýÄ꣬ÔÚSilverlightÔçÆÚ°æ±¾£¬´ó¼Ò¶¼ÈÏΪSilverlightµÄ¹¦ÄÜÎÞ·¨ºÍFlex½øÐжԱȣ¬¸üÊÇÎÞ·¨³¬Ô½Flex£¬ÔÚ2009Äê11Ô£¬Î¢ÈíÍÆ³öÁËSilverlight 4²âÊÔ°æ±¾£¬ÒÔÆäÇ¿´óµÄ¹¦ÄÜÓÖÒ»´ÎÎüÒýÁËÖڶ࿪·¢ÈËÔ±µÄÑÛÇò£¬Ðí¶àÔø¾ÔÚFlexÏÂÖ§³ÖµÄ¹¦ÄÜ£¬ÏÖÔÚSilverlightÏÂÒѾ¿ÉÒÔʵÏÖ£¬¶øÇÒ»¹ÓÐһЩÐµĹ¦ÄÜ£ ......
private XmlDocument xmlDoc;
private void btnCreateXml_Click(object sender, EventArgs e)
{
//×Ô ......
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 ......
×î½üÔÚ¹¤×÷ÖУ¬¾³£Éè¼Æ±¨±í£¨ireport+jasperReport£©·´¸´ºÍÉè¼ÆÄ£°åxml´ò½»µÀ£¬ÓÚÊǾÍÓÐÁËдÕâÆªÎÄÕµÄÏë·¨ÁË¡£java²Ù×÷xmlÖ÷ÒªÊÇÓÐËÄÖÖ·½Ê½£ºdom£¬sax£¬jdom£¬dom4j¡£ÕâËÄÖÖ·½Ê½¸÷ÓÐÓÅȱµã£º£¨ÒÔϱȽÏÊÇÀ´×ÔÍøÂ磩
1£ºDOM4JÐÔÄÜ×îºÃ£¬Á¬SunµÄJAXMÒ²ÔÚÓÃDOM4J.ĿǰÐí¶à¿ªÔ´ÏîÄ¿ÖдóÁ¿²ÉÓÃDOM4J£¬ÀýÈç´óÃû¶¦¶¦µÄHibernate ......