[XPath] XPath 辅导

上一篇 / 下一篇  2019-08-08 10:21:24 / 天气: 晴朗 / 心情: 平静 / 个人分类:网站建设

[转载]原文链接
一 XPath Introduction (什么是XPath)
XPath is a major element in the XSLT standard.
XPath 是XSLT标准中一个非常重要的组成不分。

XPath can be used to navigate through elements and attributes in an XML document.
XPath 可以用来对XML文档中的元素和属性进行导航。

XPath
  • XPath stands forXML Path Language;
  • XPath uses "path like" syntax toidentify and navigate nodesin an XML document;
  • XPath containsover200 built-in functions;
  • XPath isa major elementin the XSLT standard;
  • XPath isa W3C recommendation.

二 XPath Path Expressions (XPath 路径表达式)
1. XPath uses path expressions to select nodes or node-sets in an XML document.
XPath 利用路径表达式选择XML文档中的节点或者节点集合。
2. These path expressions look very much like the path expressions you use with traditional computer file systems。
路劲表达式看起来非常像传统电脑文件系统的路径表达式。
Folders

XPath Standard Functions (XPath标准函数)
1. There are functions forstringvalues,numericvalues,booleans,date and timecomparison,node manipulation,sequence manipulation, and much more.
2. Today XPath expressions can also be used inJavaScript,Java,XML Schema,PHP,Python,CandC++, and lots of other languages. --- 支持多语言

四 XPath is Used in XSLT(XPath 在XSLT中使用)
五 XPath is a W3C Recommendation (W3C强烈推荐XPath)
最新版本的XPath:
XPath 3.0became a W3C Recommendation on April 8, 2014.


TAG:

 

评分:0

我来说两句

日历

« 2024-04-15  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 13000
  • 日志数: 32
  • 图片数: 1
  • 建立时间: 2019-01-22
  • 更新时间: 2019-08-08

RSS订阅

Open Toolbar