gsoap Éú³ÉxmlÎĵµÎÊÌâ
ʹÓÃgsoap×ö¿Í»§¶Ë£¬Àý×Ócalc£¬Éú³ÉµÄÇëÇóµÄxmlÖÐ
<ns:add> <a>1 </a> <b>1 </b> </ns:add>
µ«ÊÇÎÒ²»ÏëʹÓà <ns:add>ÕâÖÖÐÎʽ£¬Ïë¸Ä³ÉÆäËûÎÒ×Ô¼º¶¨ÒåµÄÄÚÈÝ£¬Õâ¸öÒªÔõô×ö£¿
ÉÏgsoapµÄ¹ÙÍø£¨¸ÕÉϹýÁË£©¡£
{{
Ïà¹ØÎÊ´ð£º
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
ÎÒÊÇÏëÓÃPHP´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾Ý£¬È»ºóдÈëxml£¬È»ºóFLASHÏÔʾXMLÖеÄÊý¾Ý
µ«ÊDZ¾µØ²âÊÔPHPÄܶÁ³öXML£¬´«µ½¿Õ¼äÀï¾Í¶Á²»³öÀ´ÁË£¬ÇëÎÊÔõô»ØÊÂ?
´íÎó´úÂëÈçÏÂ:
Fatal error: Cannot instantiate non-exis ......
ÒÔÏ´úÂëÔÚIEÏÂÊÇ¿ÉÒÔÕý³££¬µ«ÊÇÓÃNETBOX·â×°¾Í²»ÐÐÁË£¬ÔËÐе½ºìÉ«µÄµØ·½¾Í³ö´íÁË£¬ËµÈ±ÉÙ¶ÔÏñ£¬ÇëÎÊÔõôÑùÐ޸ġ£
JScript code:
//////////////////// AJAXÀà////////////////
function getxml ......
RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿
Êܲ»ÁË£¡
Ã²ËÆ²»ÐаÉ
ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡
ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬² ......
HTML code:
<div id="tessx">
<ALEXA VER="0.9" URL="163.com/" HOME="0" AID="=">
<RLS PREFIX="http://" more="79" ......