<?xml version="1.0" encoding="gb2312" ?> <rss><channel><title>XML--飞飞Asp乐园</title><link>http://www.ffasp.com/rss/rss.asp</link><description></description><item><title>Google站点地图sitemap的基本格式</title><link>http://www.ffasp.com/content.asp?newsid=834</link><description>Google SiteMap的作用及协议格式详解 ?K?窨?  Google SiteMap Protocol是Google自己推出的一种站点地图协议，此协议文件基于早期的robots.txt文件协议，并有所升级。在Google官方指南中指出加入了Google SiteMap文件的网站将更有利于Google网页爬行机器人的爬行索引，这样将提高索引网站内容的效率和准确度。文件协议应用了简单的XML格式，一共用到6个标签，其中关键标签包括链接地址、更新时间、更新频率和索引优先权。 M?*&amp;quot;B? L崒蓳YAΤ  Google SiteMap文件生成后格式如下： :?^舺曋1? &amp;lt;urlset xmlns=&amp;quot;http://www.google.com/schemas/sitemap/0.84&amp;quot;&amp;gt; ?观C?爯? &amp;lt;url&amp;gt; 诮0JlL鯫S    &amp;lt;loc&amp;gt;http://www.ffasp.com&amp;lt;/loc&amp;gt; 闐}牜倍焃?   &amp;lt;lastmod&amp;gt;2005-06-03T04:20-08:00&amp;lt;/lastmod&amp;gt; I2櫽p_雭.    &amp;lt;changefreq&amp;gt;always&amp;lt;/changefreq&amp;gt; Jm厡?溁    &amp;lt;priority&amp;gt;1.0&amp;lt;/priority&amp;gt; 蛄 M萷氶坬  &amp;lt;/url&amp;gt; ?M柝~鞙  &amp;lt;url&amp;gt; 鮳i?&amp;#63733;O/_    &amp;lt;loc&amp;gt;http://www.ffasp.com/index.asp&amp;lt;/loc&amp;gt; 攞梧Ｓ菛?   &amp;lt;lastmod&amp;gt;200</description><pubDate>Mon, 31 Dec 2007 15:28:11  GMT</pubDate></item><item><title>XML CDATA</title><link>http://www.ffasp.com/content.asp?newsid=639</link><description>解析数据XML 解析器通常情况下会处理XML文档中的所有文本。当XML元素被解析的时候，XML元素内部的文本也会被解析:&amp;lt;message&amp;gt;This text is also parsed&amp;lt;/message&amp;gt;XML解析器这样做的原因是XML元素内部可能还包含了别的元素，象下面的例子，name元素内部包含了first和last两个元素:&amp;lt;name&amp;gt;&amp;lt;first&amp;gt;Bill&amp;lt;/first&amp;gt;&amp;lt;last&amp;gt;Gates&amp;lt;/last&amp;gt;&amp;lt;/name&amp;gt;解析器会认为上面的代码是这样的:&amp;lt;name&amp;gt;&amp;lt;first&amp;gt;Bill&amp;lt;/first&amp;gt;&amp;lt;last&amp;gt;Gates&amp;lt;/last&amp;gt;&amp;lt;/name&amp;gt;转义字符不合法的XML字符必须被替换为</description><pubDate>Wed, 14 Nov 2007 07:51:48  GMT</pubDate></item><item><title>ASCII码表</title><link>http://www.ffasp.com/content.asp?newsid=249</link><description></description><pubDate>Sat, 29 Sep 2007 22:24:34  GMT</pubDate></item><item><title>XMLDOM介绍及用法</title><link>http://www.ffasp.com/content.asp?newsid=234</link><description>下载：http://www.hlib.cn/down/down.asp?downid=358XMLDOM是用来访问和操作XML文档的编程接口规范。&amp;nbsp;　　1、简介　　XMLDOM被设计为可用于任何语言和任何操作系统。借助DOM，程序员可以创建XML文档、遍历其结构，增、改、删其元素。DOM将整个XML文档视作一棵树，文档级的元素是树的根。　　2、MS的XML解析，IE5.0以上。　　是一个COM组件，至少包含下列对象：　　（1）Micosoft.XMLDOM　　（2）Micosoft.XMLDOM.parseError，有如下属性：PropertyDescriptionerrorCodeReturns a long integer error codereasonReturns a string explaining the reason for the errorlineReturns a long integer representing the line number for the errorlinePosReturns a long integer representing the line position for the errorsrcTextReturns a string containing the line that caused the errorurlReturns the url pointing the loaded documentfilePosReturns a long integer file position of the error　　（3）Microsoft.XMLHTTP，有如下属性：PropertyDescriptionreadyStateReturns the state of the documentresponseBodyReturns the response as an array of unsigned bytesresponseStreamReturns the response as an IStreamresponseTextReturns the response as a stringresponseXMLReturns the response as an xml documentstatusReturns the status code as a numberstatusTextReturns the status as a string有如下方法：PropertyDescriptionabort()Cancel the current http requestgetAllResponseHeaders()Returns the value of the http headersgetResponseHeader(headerName)Returns the value of one specified http headeropen(method, url, async, userid, password)Opens http request, and specifies the informationsend()Send&amp;nbsp;the http request to the serversetRequestHeader(headerName,headerValue)Specifies the name of a http header　　（4）Node的类型nodeTypeNamed ConstantnodeTypeStringnodeNamenodeValue1ELEMENT_NODEelementtagNamenull2ATTRIBUTE_NODEattributenamevalue3TEXT_NODEtext#textcontent of node4CDATA_SECTION_NODEcdatasection#cdata-sectioncontent of node5ENTITY_REFERENCE_NODEentityreferenceentity reference namenull6ENTITY_NODEentityentity namenull7PROCESSING_INSTRUCTION_NODEprocessinginstructiontargetcontent of node8COMMENT_NODEcomment#commentcomment text9DOCUMENT_NODEdocument#documentnull10DOCUMENT_TYPE_NODEdocumenttypedoctype namenull11DOCUMENT_FRAGMENT_NODEdocumentfragment#document fragmentnull12NOTATION_NODEnotationnotation namenull　　W3C规定的属性： PropertyDescriptionattributesReturns a NamedNodeMap containing all attributes for this nodechildNodesReturns a NodeList containing all the child nodes for this nodefirstChildReturns the first child node for this nodelastChildReturns the last child node for this no</description><pubDate>Sat, 29 Sep 2007 10:15:08  GMT</pubDate></item><item><title></title><link>http://www.ffasp.com/content.asp?newsid=</link><description>下载：http://www.hlib.cn/down/down.asp?downid=358XMLDOM是用来访问和操作XML文档的编程接口规范。&amp;nbsp;　　1、简介　　XMLDOM被设计为可用于任何语言和任何操作系统。借助DOM，程序员可以创建XML文档、遍历其结构，增、改、删其元素。DOM将整个XML文档视作一棵树，文档级的元素是树的根。　　2、MS的XML解析，IE5.0以上。　　是一个COM组件，至少包含下列对象：　　（1）Micosoft.XMLDOM　　（2）Micosoft.XMLDOM.parseError，有如下属性：PropertyDescriptionerrorCodeReturns a long integer error codereasonReturns a string explaining the reason for the errorlineReturns a long integer representing the line number for the errorlinePosReturns a long integer representing the line position for the errorsrcTextReturns a string containing the line that caused the errorurlReturns the url pointing the loaded documentfilePosReturns a long integer file position of the error　　（3）Microsoft.XMLHTTP，有如下属性：PropertyDescriptionreadyStateReturns the state of the documentresponseBodyReturns the response as an array of unsigned bytesresponseStreamReturns the response as an IStreamresponseTextReturns the response as a stringresponseXMLReturns the response as an xml documentstatusReturns the status code as a numberstatusTextReturns the status as a string有如下方法：PropertyDescriptionabort()Cancel the current http requestgetAllResponseHeaders()Returns the value of the http headersgetResponseHeader(headerName)Returns the value of one specified http headeropen(method, url, async, userid, password)Opens http request, and specifies the informationsend()Send&amp;nbsp;the http request to the serversetRequestHeader(headerName,headerValue)Specifies the name of a http header　　（4）Node的类型nodeTypeNamed ConstantnodeTypeStringnodeNamenodeValue1ELEMENT_NODEelementtagNamenull2ATTRIBUTE_NODEattributenamevalue3TEXT_NODEtext#textcontent of node4CDATA_SECTION_NODEcdatasection#cdata-sectioncontent of node5ENTITY_REFERENCE_NODEentityreferenceentity reference namenull6ENTITY_NODEentityentity namenull7PROCESSING_INSTRUCTION_NODEprocessinginstructiontargetcontent of node8COMMENT_NODEcomment#commentcomment text9DOCUMENT_NODEdocument#documentnull10DOCUMENT_TYPE_NODEdocumenttypedoctype namenull11DOCUMENT_FRAGMENT_NODEdocumentfragment#document fragmentnull12NOTATION_NODEnotationnotation namenull　　W3C规定的属性： PropertyDescriptionattributesReturns a NamedNodeMap containing all attributes for this nodechildNodesReturns a NodeList containing all the child nodes for this nodefirstChildReturns the first child node for this nodelastChildReturns the last child node for this no</description><pubDate></pubDate></item></channel></rss>