﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-netkey-最新评论</title><link>http://www.cnblogs.com/netkey/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Wed, 15 Oct 2008 15:18:31 GMT</pubDate><lastBuildDate>Wed, 15 Oct 2008 15:18:31 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:简单实用的DataSet更新数据库的类(没试过)</title><link>http://www.cnblogs.com/netkey/archive/2009/07/17/1099029.html#1588096</link><dc:creator>心语悠长</dc:creator><author>心语悠长</author><pubDate>Fri, 17 Jul 2009 15:07:13 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2009/07/17/1099029.html#1588096</guid><description><![CDATA[我使用了 不过 没有任何作用 也不报错。。。。怪哉！！！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">心语悠长</a> 2009-07-17 23:07 <a href="http://www.cnblogs.com/netkey/archive/2009/07/17/1099029.html#1588096#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: CSS滤镜实现的各种效果</title><link>http://www.cnblogs.com/netkey/archive/2008/11/21/1308698.html#1376533</link><dc:creator>cloudgamer</dc:creator><author>cloudgamer</author><pubDate>Fri, 21 Nov 2008 00:36:40 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/11/21/1308698.html#1376533</guid><description><![CDATA[<a href="http://www.cnblogs.com/cloudgamer/archive/2008/05/23/1205642.html" target="_new">http://www.cnblogs.com/cloudgamer/archive/2008/05/23/1205642.html</a> <br/>我这里有一个滤镜的应用<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">cloudgamer</a> 2008-11-21 08:36 <a href="http://www.cnblogs.com/netkey/archive/2008/11/21/1308698.html#1376533#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.Net中生成静态HTML页</title><link>http://www.cnblogs.com/netkey/archive/2008/09/20/1123563.html#1322254</link><dc:creator>谢小妹</dc:creator><author>谢小妹</author><pubDate>Sat, 20 Sep 2008 06:48:04 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/09/20/1123563.html#1322254</guid><description><![CDATA[谢谢！！！<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">谢小妹</a> 2008-09-20 14:48 <a href="http://www.cnblogs.com/netkey/archive/2008/09/20/1123563.html#1322254#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123154</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:12:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123154</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>Selecting price Nodes with Price&gt;35<br>选择price大于35的price节点<br>The following example selects all the price nodes with a price higher than 35:<br><br>xmlDoc.selectNodes(&quot;/bookstore/book[price&gt;35]/price&quot;) <br>If you have IE 5 or higher you can try it yourself.<br><br><br>--------------------------------------------------------------------------------<br><br>Selecting title Nodes with Price&gt;35<br>选择Price大于35的title节点<br>The following example selects all the title nodes with a price higher than 35:<br><br>xmlDoc.selectNodes(&quot;/bookstore/book[price&gt;35]/title&quot;) <br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:12 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123154#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123152</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:11:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123152</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>Select the First book Node<br>选择第一个book节点<br>The following example selects only the first book node under the bookstore element:<br><br>xmlDoc.selectNodes(&quot;/bookstore/book[0]&quot;)<br>If you have IE 5 or higher you can try it yourself.<br><br>Note: IE 5 and 6 has implemented that [0] should be the first node, but according to the W3C standard it should have been [1]!!<br><br><br>--------------------------------------------------------------------------------<br><br>Select the prices<br>选择prices<br>The following example selects the text from all the price nodes:<br><br>xmlDoc.selectNodes(&quot;/bookstore/book/price/text()&quot;) <br>If you have IE 5 or higher you can try it yourself.<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:11 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123152#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123149</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:11:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123149</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>Selecting Nodes<br>选择节点<br>We will use the Microsoft XMLDOM object to load the XML document and the selectNodes() function to select nodes from the XML document:<br>我们使用了XMLDOM对象来加载XML文档并用selectNode()函数来进行XML文档上节点的选择：<br><br>set xmlDoc=CreateObject(&quot;Microsoft.XMLDOM&quot;)<br>xmlDoc.async=&quot;false&quot;<br>xmlDoc.load(&quot;books.xml&quot;)<br>xmlDoc.selectNodes(path expression)<br><br><br>--------------------------------------------------------------------------------<br><br>Select all book Nodes<br>选择所有book节点<br>The following example selects all the book nodes under the bookstore element:<br>下面这个实例就会选择所有bookstore元素以下的book节点：<br><br>xmlDoc.selectNodes(&quot;/bookstore/book&quot;)<br>如果你有IE5以上的版本你可以自己来做一下.<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:11 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123149#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123148</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:11:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123148</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>The XML Example Document<br>We will use the following XML document in the examples below.<br>我们将使用下面这个XML文档来进行实例<br><br>&quot;books.xml&quot;:<br><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;<br>&lt;bookstore&gt;<br>&lt;book category=&quot;COOKING&quot;&gt;<br>  &lt;title lang=&quot;en&quot;&gt;Everyday Italian&lt;/title&gt;<br>  &lt;author&gt;Giada De Laurentiis&lt;/author&gt;<br>  &lt;year&gt;2005&lt;/year&gt;<br>  &lt;price&gt;30.00&lt;/price&gt;<br>&lt;/book&gt;<br>&lt;book category=&quot;CHILDREN&quot;&gt;<br>  &lt;title lang=&quot;en&quot;&gt;Harry Potter&lt;/title&gt;<br>  &lt;author&gt;J K. Rowling&lt;/author&gt;<br>  &lt;year&gt;2005&lt;/year&gt;<br>  &lt;price&gt;29.99&lt;/price&gt;<br>&lt;/book&gt;<br>&lt;book category=&quot;WEB&quot;&gt;<br>  &lt;title lang=&quot;en&quot;&gt;XQuery Kick Start&lt;/title&gt;<br>  &lt;author&gt;James McGovern&lt;/author&gt;<br>  &lt;author&gt;Per Bothner&lt;/author&gt;<br>  &lt;author&gt;Kurt Cagle&lt;/author&gt;<br>  &lt;author&gt;James Linn&lt;/author&gt;<br>  &lt;author&gt;Vaidyanathan Nagarajan&lt;/author&gt;<br>  &lt;year&gt;2003&lt;/year&gt;<br>  &lt;price&gt;49.99&lt;/price&gt;<br>&lt;/book&gt;<br>&lt;book category=&quot;WEB&quot;&gt;<br>  &lt;title lang=&quot;en&quot;&gt;Learning XML&lt;/title&gt;<br>  &lt;author&gt;Erik T. Ray&lt;/author&gt;<br>  &lt;year&gt;2003&lt;/year&gt;<br>  &lt;price&gt;39.95&lt;/price&gt;<br>&lt;/book&gt;<br>&lt;/bookstore&gt;<br>View the &quot;books.xml&quot; file in your browser.<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:11 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123148#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123147</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:11:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123147</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>XPath Operators<br>Below is a list of the operators that can be used in XPath expressions:<br><br>Operator Description Example Return value <br>| Computes two node-sets //book | //cd Returns a node-set with all book and cd elements <br>+ Addition 6 + 4 10 <br>- Subtraction 6 - 4 2 <br>* Multiplication 6 * 4<br> 24 <br>div Division 8 div 4 2 <br>= Equal price=9.80 true if price is 9.80<br>false if price is 9.90 <br>!= Not equal price!=9.80 true if price is 9.90<br>false if price is 9.80 <br>&lt; Less than price&lt;9.80 true if price is 9.00<br>false if price is 9.80 <br>&lt;= Less than or equal to price&lt;=9.80 true if price is 9.00<br>false if price is 9.90 <br>&gt; Greater than price&gt;9.80 true if price is 9.90<br>false if price is 9.80 <br>&gt;= Greater than or equal to price&gt;=9.80 true if price is 9.90<br>false if price is 9.70 <br>or or price=9.80 or price=9.70 true if price is 9.80<br>false if price is 9.50 <br>and and  price&gt;9.00 and price&lt;9.90 true if price is 9.80<br>false if price is 8.50 <br>mod Modulus (division remainder) 5 mod 2 1 <br><br> <br><br>XPath实例<br><br><br>Let's try to learn some basic XPath syntax by looking at some examples.<br>让我们来尝试通过观察一些实例来学习基础的XPath语法<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:11 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123147#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123146</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:10:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123146</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>Location Path Expression<br>路径表达试定位<br>A location path can be absolute or relative.<br>定位路径可以是绝对的也可以是相对的<br><br>An absolute location path starts with a slash ( / ) and a relative location path does not. In both cases the location path consists of one or more steps, each separated by a slash:<br>绝对定位的路径由(/)开始，而相对定位就不这样。定位的路径由一个或多个步骤所组成，每部分由(/)相分隔：<br><br>An absolute location path:<br>/step/step/...<br>A relative location path:<br>step/step/...<br>Each step is evaluated against the nodes in the current node-set.<br>在当前的节集中每步的赋值是逆向的<br><br>A step consists of:<br><br>an axis (defines the tree-relationship between the selected nodes and the current node) <br>a node-test (identifies a node within an axis)[在轴中鉴定节] <br>zero or more predicates (to further refine the selected node-set)[0个或多个谓语可以来更好的选择节] <br>The syntax for a location step is:<br>定位的语法<br><br>axisname::nodetest[predicate]<br>Examples<br>实例<br>Example 结果 <br>child::book Selects all book nodes that are children of the current node[选择当前节点下所有为book的子节点] <br>attribute::lang Selects the lang attribute of the current node[选择当前节点下所有属性为lang的内容] <br>child::* Selects all children of the current node[选择当前节下所有的子节] <br>attribute::* Selects all attributes of the current node[选择当前节所有的属性] <br>child::text() Selects all text child nodes of the current node[选择当前节点所有子节点的文字] <br>child::node() Selects all child nodes of the current node[选择所有当前节点的子节点] <br>descendant::book Selects all book descendants of the current node[选择当前节点所有为book的孙节点] <br>ancestor::book Selects all book ancestors of the current node[选择所有当前祖节点为book的节点] <br>ancestor-or-self::book Selects all book ancestors of the current node - and the current as well if it is a book node[当前节点和其祖节点为book的节点] <br>child::*/child::price Selects all price grandchildren of the current node[当前节点所有含price的孙子节点] <br><br><br> <br><br>XPath运算符<br><br><br>An XPath expression returns either a node-set, a string, a Boolean, or a number.<br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:10 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123146#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: XPath详细介绍(连载,抄来的)</title><link>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123142</link><dc:creator>netkey码</dc:creator><author>netkey码</author><pubDate>Wed, 26 Mar 2008 07:10:00 GMT</pubDate><guid>http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123142</guid><description><![CDATA[--------------------------------------------------------------------------------<br><br>XPath Axes<br>XPath轴<br>An axis defines a node-set relative to the current node.<br>轴定义了相对于当前节的节集<br><br>轴名 结果 <br>ancestor Selects all ancestors (parent, grandparent, etc.) of the current node[选择了当前节的所有祖（父，祖父，等等）] <br>ancestor-or-self Selects all ancestors (parent, grandparent, etc.) of the current node and the current node itself[选择当前节的所有祖并且还有当前节自己] <br>attribute Selects all attributes of the current node[选择所有当前节的属性] <br>child Selects all children of the current node[选择所有当前节的子] <br>descendant Selects all descendants (children, grandchildren, etc.) of the current node[选择所有当前节的孙（子，孙子，等等）] <br>descendant-or-self Selects all descendants (children, grandchildren, etc.) of the current node and the current node itself[选择当前节的所有孙以及它本身] <br>following Selects everything in the document after the closing tag of the current node[选择所有在关闭当前节标签后的所有内容] <br>following-sibling Selects all siblings after the current node[选择所有当前节后的兄] <br>namespace Selects all namespace nodes of the current node[选择所有当前节的命名空间] <br>parent Selects the parent of the current node[选择当前节的父] <br>preceding Selects everything in the document that is before the start tag of the current node[选择当前节之前的所有内容] <br>preceding-sibling Selects all siblings before the current node[选择所有当前节之前的兄] <br>self Selects the current node[选择当前节] <br><br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/netkey/" target="_blank">netkey码</a> 2008-03-26 15:10 <a href="http://www.cnblogs.com/netkey/archive/2008/03/26/1123128.html#1123142#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
