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

FirefoxÏÂJavaScript¶ÁÈ¡xmlÎĵµ½Úµã

ÏÖÔÚ³ÌÐòÖÐÊÇͨ¹ýxmlHttp.responseXML»ñÈ¡ÁËÒ»¸öxml£¬¸ñʽÈçÏÂ
XML code:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<device>358279018906196</device>
<lnglat>117.124844,31.986617,0.0 117.241917,32.017188,0.0</lnglat>
</response>

ÎÒÊÇÔÚ»ñÈ¡lnglat½ÚµãÄÚÈÝÊÇÓöµ½ÎÊÌ⣬ÔÚFirefoxϵ±lnglat½ÚµãµÄÄÚÈݽ϶àʱ£¬½âÎöºó»ñÈ¡µÄÄÚÈÝ×ÜÊDz»ÍêÕû£¬Êý¾Ýµ½Ä³¸ö³¤¶È¾ÍÖжÏÁË¡£»ñÈ¡½ÚµãÄÚÈݵĴúÂëÈçÏ£º
JScript code:
var lnglat = xmlHttp.responseXML.getElementsByTagName("lnglat")[i].childNodes[0].nodeValue;

¶øͬÑùµÄxmlÔÚIEºÍ¹È¸èä¯ÀÀÆ÷Ï»ñÈ¡½ÚµãÄÚÈݾùÊÇÍêÕûµÄ¡£

ÓÐÄÄλ¸ßÈËÖ¸µãÏ£¬¸Ð¼¤²»¾¡£¡

to sundotLei:²âÊÔÓõÄxmlÎĵµÈçÏÂ
<?xml version="1.0" encoding="UTF-8"?>
<response>
<device>
<deviceid>358279018906196 </deviceid>
<lnglat>117.279061,31.876882
117.277745,31.876150
117.272935,31.876835
117.271844,31.889735
117.270263,31.898995
117.261199,31.918630
117.260792,31.919403
117.260422,31.920127
117.260068,31.920851
117.259633,31.921554
117.259161,31.922262
117.258673,


Ïà¹ØÎÊ´ð£º

javascriptÖÐÊÇÖµÊÇÔõô½»»»ÁË£¿ - Java / JavaÏà¹Ø

Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y) 
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ 
if(x>z) 
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ 
if(y>z) 
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......

¹ØÓÚjavascriptÒ³ÃæÄÚ·­Ò³

ÊÖÍ·ÓÐÒ»¸öÍøÕ¾£¬ÍêÈ«ÊÇÓÃjavascriptºÍhtmlдµÄ£¬Ö»ÓÐÒ»¸ö default.htmlÒ³Ã棬Ȼºó×ó²àÓÐÏÂÀ­²Ëµ¥£¬ÖмäÏÔʾÄÚÈÝ£¬ÏÖÔÚµÄÎÊÌâÊÇÏ£ÍûÔÚnews²Ëµ¥µã»÷ºóÏÔʾµÄ¶«Î÷Äܹ»·ÖÒ³£¬µ«ÊÇ·ÖÒ³¼¼ÊõÊÇÒª¸Ä±äurlµÄ£¬ÕâÑùµÄ»°Õû¸öÒ³ ......

ÈçºÎÌá½»xmlÀàÐÍÊý¾Ý - .NET¼¼Êõ / ASP.NET

Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
  <a>aaa
  </a>
  <b>bbb
  </b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......

php¶ÁÈ¡XMLÊý¾ÝÎÊÌâ

ÎÒÊÇÏëÓÃPHP´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾Ý£¬È»ºóдÈëxml£¬È»ºóFLASHÏÔʾXMLÖеÄÊý¾Ý
µ«ÊDZ¾µØ²âÊÔPHPÄܶÁ³öXML£¬´«µ½¿Õ¼äÀï¾Í¶Á²»³öÀ´ÁË£¬ÇëÎÊÔõô»ØÊÂ?

´íÎó´úÂëÈçÏÂ:
Fatal error: Cannot instantiate non-exis ......

JavaScript»ñÈ¡Ñ¡ÖÐÏî

<script type="text/javascript">
function show(){
var ListUtil=new Object();
var ListUtil.getSelectedIndexes=function (oListbox){
var arrIndexes=new Array;
for(var i=0;i ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ