2007年8月1日

<CalendarDrawItems>
<Item>
<Rect X="0" Y="0" H="215" W="174"/>
</Item>
<Item>
<Rect X="-5" Y="0" H="215" W="174"/>
</Item>
<Item>
<Rect X="50" Y="0" H="215" W="174"/>
</Item>
...

最小值:
//Item/Rect/@X[not(//Item/Rect/@X < .)]

最大值:
//Item/Rect/@X[not(//Item/Rect/@X > .)]
文章来源:http://www.gins.cn/blog/post/171.html
posted @ 2007-08-01 13:51 ginseng 阅读(178) 评论(0) 编辑
XPath 语法规则


XPath使用路径表达式去确定XML文档中的节点。

我们将利用下面的XML文档描述XPath语法





C2688-67037
LCD液晶显示器
1
358.00


C2688-67061
音箱
1
16.50


C2688-67010
鼠标
1
8.50



节点定位:

XML文挡可以表示为树结构节点形式
XPath使用模式表达式识别XML文档的节点。

文章来源:http://www.gins.cn/blog/post/170.html
posted @ 2007-08-01 10:53 ginseng 阅读(22) 评论(0) 编辑

导航

公告

统计