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

python¸ù¾Ýfeedparser¶ÁÈ¡xmlµÄʱ¼ä

feedparserµ¼ÈëÕâ¸ö°ü ¶ÁxmlµÄtitle£¬link ¶¼Ã»ÎÊÌâ ¾ÍÊÇʱ¼ä¶ÁÈ¡²»³öÀ´
´íÎó£º
print d['feed']['%s lastBuildDate']

return UserDict.__getitem__(self, realkey)
KeyError: '%s lastBuildDate'

Õâ¸öÊÇÔõô»ØÊ Ôõô ´¦Àí
'%s lastBuildDate'Óï·¨ÉÏÓÐÎÊÌâ°É...


Ŷ ±§Ç¸ ·¢´íÁË Õâ¸öÊÇÎÒ²âÊÔʱºòŪµÄ
print d['feed']['lastBuildDate']ÕâôдµÄʱºò¾ÍÒì³£ÁË
ÄÜ°ïæ¿´¿´Ô­ÒòÂð Õý³£½âÎö±ðµÄ±êÇ©¶¼Ã»ÎÊÌâ ÊDz»ÊÇÒòΪ±êÇ©ÀïÃæÓпոñµÄÔ­Òò
Ëû¸ú±ðµÄ±êÇ©µÄÇø±ðΨһ¾Í²îÔÚÕâÁË ¿ÉÊDz»ÖªµÀÔõô´¦Àí¿Õ¸ñ²ÅÄÜÈÃËûÕý³£½âÎö Ò²²»ÖªµÀÏëµÄ¶Ô²»
ÓÐûÓж®µÄ°ïæָÌõÃ÷·

print d['feed']['lastBuildDate']
´íÎó
return UserDict.__getitem__(self, realkey)
KeyError: 'lastBuildDate'
ÊÇÕâ¸ö

mark....
{{


Ïà¹ØÎÊ´ð£º

ÀûÓÃC#±àдtxtת»¯µ½xmlµÄ³ÌÐò

txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔ­Êý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......

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

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

C# DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí

DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
      <B>
        <C>
        </C>
  &nb ......

ÓÐûÓÐphp´úÂë¿ÉÒÔ½«excelת³ÉxmlµÄ

ÈçÌ⣬ÓÐûÓÐÕâÑùµÄphp´úÂë¡£ÎÒÏÖÔÚÏ뽫excelµÄÄÚÈݲåÈëmysqlÊý¾Ý¿â£¬Ï£Íû¿ÉÒÔ½«excelת³Éxml,È»ºó½âÎöxml²åÈëÊý¾Ý¿âÖС£Èç¹ûÓÐÕâÑùµÄ´úÂ룬ÉõÖÁÊÇÓÐÃûµÄ´úÂ룬һ¶¨Òª¸æËßÎÒ°¡¡£
ÏȶÁ excel => È»ºóÉú³É xml = ......

C# ÀûÓÃsocket´«ÊäXMLÎļþÎÊÌâ

ÎÒÏÖÔÚÒª×öÒ»¸öÓÃc#×öµÄ£¬ÀûÓÃsocket´«ÊäXMLÎļþ£¬²¢½â¶ÁXMLÎļþ£¬Ö´ÐÐXMLÀïÃæµÄÏà¹Ø²Ù×÷Ö®ºó£¬°Ñ½á¹û¶¯Ì¬µØдÈëXMLÎļþÀÔÙ´«»ØÈ¥£¡×îºÃÄܸø¸ö°¸Àý¿´¿´£¬¼±¼±¼±°¡!!!
ллÁË£¡
Ôõô¸ö½âÎö·¨£¿

1¡¢.net Romti ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ